summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-05-01 08:35:04 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-05-01 08:35:04 +0900
commit652a5339655fd9970ff25fc91c71ac60ff69d32d (patch)
treea390f6b9f24dffabd54ac2afb8c70f7f9fa466b4 /mrbgems
parent2cb54e4b9d523e85b65a30b7af593791e8ac83f0 (diff)
parentd6b4cdb6accc7c86698de9ba38fdd52c59d2146b (diff)
downloadmruby-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.rb2
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