source:
EcnlProtoTool/trunk/mruby-2.1.1/mrblib/symbol.rb@
439
Last change on this file since 439 was 439, checked in by , 4 years ago | |
---|---|
|
|
File size: 113 bytes |
Rev | Line | |
---|---|---|
[439] | 1 | class Symbol |
2 | def to_proc | |
3 | ->(obj,*args,&block) do | |
4 | obj.__send__(self, *args, &block) | |
5 | end | |
6 | end | |
7 | end |
Note:
See TracBrowser
for help on using the repository browser.