Project

General

Profile

« Previous | Next » 

Revision e1797bc7

Added by matz (Yukihiro Matsumoto) over 15 years ago

  • lib/delegate.rb (Delegator::public_api): take snapshot of
    public method at the beginning time.

  • lib/delegate.rb (SimpleDelegator#initialize): use
    Delegator.public_api since public_method might be added after
    initialization. [ruby-dev:39383]

  • lib/delegate.rb (DelegateClass): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e