3 ms·
I had the same fear at first, but actually if you generate dynamically a method name you need to use `#__send__` (and friends) to call it. Of course `#__send__
by elia 12y ago
I had the same fear at first, but actually if you generate dynamically a method name you need to use `#__send__` (and friends) to call it.
Of course `#__send__` supports method_missing: https://github.com/opal/opal/blob/0-6-stable/opal/corelib/basic_object.rb#L13-L31 https://github.com/opal/opal/blob/0-6-stable/opal/corelib/ba...