source:
EcnlProtoTool/trunk/mruby-2.1.1/mrblib/symbol.rb@
461
Last change on this file since 461 was 439, checked in by , 4 years ago | |
---|---|
|
|
File size: 113 bytes |
Line | |
---|---|
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.