Class: FigNewton::Node
- Inherits:
-
Object
- Object
- FigNewton::Node
- Includes:
- Missing
- Defined in:
- lib/fig_newton/node.rb
Instance Method Summary collapse
-
#initialize(yml) ⇒ Node
constructor
A new instance of Node.
- #to_hash ⇒ Object
Methods included from Missing
Constructor Details
#initialize(yml) ⇒ Node
Returns a new instance of Node.
7 8 9 |
# File 'lib/fig_newton/node.rb', line 7 def initialize(yml) @yml = yml end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FigNewton::Missing
Instance Method Details
#to_hash ⇒ Object
11 12 13 |
# File 'lib/fig_newton/node.rb', line 11 def to_hash @yml end |