summaryrefslogtreecommitdiff
path: root/include/ruby/encoding.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-01-03 09:35:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-01-03 09:35:26 +0000
commita50cc9ce082a9e356d0bc188785973ebbd0529ff (patch)
tree2bbc13cadac2e74d20b22f5228da6c20b8710690 /include/ruby/encoding.h
parent46c0e79bb5b96c45c166ef62f8e585f528862abb (diff)
forwardable.rb: use defined?
* lib/forwardable.rb (_delegator_method): use defined? operator instead of binding and calling unbound Kernel#respond_to?. a remedy for an performance bottleneck. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/encoding.h')
0 files changed, 0 insertions, 0 deletions