diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-05-01 08:35:04 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-05-01 08:35:04 +0900 |
| commit | 652a5339655fd9970ff25fc91c71ac60ff69d32d (patch) | |
| tree | a390f6b9f24dffabd54ac2afb8c70f7f9fa466b4 /mrbgems | |
| parent | 2cb54e4b9d523e85b65a30b7af593791e8ac83f0 (diff) | |
| parent | d6b4cdb6accc7c86698de9ba38fdd52c59d2146b (diff) | |
| download | mruby-652a5339655fd9970ff25fc91c71ac60ff69d32d.tar.gz mruby-652a5339655fd9970ff25fc91c71ac60ff69d32d.zip | |
Merge pull request #2162 from ksss/__send__
use Kernel#__send__ insteard of Kernel#send
Diffstat (limited to 'mrbgems')
| -rw-r--r-- | mrbgems/mruby-symbol-ext/mrblib/symbol.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-symbol-ext/mrblib/symbol.rb b/mrbgems/mruby-symbol-ext/mrblib/symbol.rb index f4bf23cb1..4cf18f647 100644 --- a/mrbgems/mruby-symbol-ext/mrblib/symbol.rb +++ b/mrbgems/mruby-symbol-ext/mrblib/symbol.rb @@ -3,7 +3,7 @@ class Symbol def to_proc ->(obj,*args,&block) do - obj.send(self, *args, &block) + obj.__send__(self, *args, &block) end end |
