diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-01 10:30:48 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-01 10:30:48 +0000 |
commit | 23924cfa397e3b2151118314b535fe90a3db85a7 (patch) | |
tree | 2e04ecb4748c221740187fd82f583ac23c084ee4 /rational.c | |
parent | be02a463922fd4d0a24327b8d8bb4d0001413770 (diff) | |
download | ruby-23924cfa397e3b2151118314b535fe90a3db85a7.tar.gz |
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
Diffstat (limited to 'rational.c')
0 files changed, 0 insertions, 0 deletions