judofyr/duktape.rb — pull request #8 by josh (2014-12-09 23:23:15+00:00)
Title: call_prop with nested properties

ExecJS's `call` supports nested property access. Which lets you do `call("CoffeScript.compile", data)`.

At the moment, `call_prop` only supports calling global properties. Theres no way to get a reference to any nested property which makes it very limited.

@judofyr Do you think this is something we should support?

My idea for the implementation would be eval and get the object reference for the property, then use `duk_call`.