opal/opal — Issue #31: Implement various bridges.
Author: meh
Created: 2011-12-12 22:40:15+00:00
State: open

`Module#define_method_bridge (target, name, alias = nil)`, defines a method that bridges arguments to a native js function.

`Module#attr_accessor_bridge (target, *names)`, defines accessors to the target native attributes, same goes for `reader` and `writer`.