[ruby-cvs:62530] nobu:r55366 (trunk): forwardable.rb: fix for non-module objects

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Jun 10 21:54:26 JST 2016


nobu	2016-06-10 21:54:25 +0900 (Fri, 10 Jun 2016)

  New Revision: 55366

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55366

  Log:
    forwardable.rb: fix for non-module objects
    
    * lib/forwardable.rb (Forwardable._delegator_method): extract
      method generator and deal with non-module objects.
      [ruby-dev:49656] [Bug #12478]

  Modified files:
    trunk/ChangeLog
    trunk/lib/forwardable.rb
    trunk/test/test_forwardable.rb


More information about the ruby-cvs mailing list