Module: NodeModule::ClassMethods
- Defined in:
- lib/node_module.rb
Instance Method Summary collapse
Instance Method Details
#node_module(*methods) ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/node_module.rb', line 20 def node_module(*methods) if methods.empty? NodeModule.compile_on_callback(self) else NodeModule.compile_and_replace!(self, methods) end end |