Class: Module
Instance Method Summary collapse
-
#native_module ⇒ Object
Public: Exposes the current module as a property of the global object (e.g.
window
).
Instance Method Details
#native_module ⇒ Object
Public: Exposes the current module as a property of
the global object (e.g. window
).
592 593 594 |
# File 'opal/stdlib/native.rb', line 592 def native_module `Opal.global[#{self.name}] = #{self}` end |