Module: TireSwing::NodeDefinition
- Defined in:
- lib/tire_swing/node_definition.rb
Defined Under Namespace
Modules: ModuleMethods, NodeFilters
Class Method Summary collapse
-
.included(base) ⇒ Object
Include this module to get access to the node and create_node class methods.
Class Method Details
.included(base) ⇒ Object
Include this module to get access to the node and create_node class methods.
module AST
include NodeDefinition
node :foo
end
195 196 197 |
# File 'lib/tire_swing/node_definition.rb', line 195 def self.included(base) base.extend ModuleMethods end |