[ruby-cvs:65400] eregon:r58229 (trunk): ostruct.rb: improve fix for OpenStruct.allocate + #respond_to?

eregon at ruby-lang.org eregon at ruby-lang.org
Sat Apr 1 19:30:48 JST 2017


eregon	2017-04-01 19:30:48 +0900 (Sat, 01 Apr 2017)

  New Revision: 58229

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

  Log:
    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]

  Modified files:
    trunk/lib/ostruct.rb


More information about the ruby-cvs mailing list