Project

General

Profile

« Previous | Next » 

Revision a6456054

Added by Eregon (Benoit Daloze) almost 7 years ago

ostruct.rb: improve fix for OpenStruct.allocate + #respond_to?

  • lib/ostruct.rb (OpenStruct#respond_to_missing?): this makes
    OpenStruct#respond_to? works on any OpenStruct instance,
    just like Kernel#respond_to? does, without workarounds.
    [ruby-core:80292] [Bug #13358]

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