Class: Proc
Instance Method Summary collapse
Instance Method Details
#to_native ⇒ Object
240 241 242 243 244 245 246 247 248 249 250 |
# File 'lib/opal/native.rb', line 240 def to_native %x{ var self = this; return (function () { return self.apply(self.$S, [null].concat(#{ `$slice.call(arguments, 0)`.map { |o| Kernel.Native(o) } })); }); } end |