module

Invokable

Invokable supports calling member function of a JavaScript's Object. In short, it make this usable.

my_object["function"].as(JSCFunction).call(args...) # in this case, JavaScript `this` will be undefined.
# uses Invokeable#invoke instead.
my_object.invoke "function", arg1, arg2, ...

Instance methods

invoke(name : String, *args)
Source