| Class | Ariel::Node |
| In: |
lib/ariel/node.rb
|
| Parent: | Object |
A generic Node object. As an end user, you have no need to use this. All children are stored in a hash. id and type are undefined so they can be used freely as part of a Node::Structure
| children | [RW] | |
| node_name | [RW] | |
| parent | [RW] |
Given a Node object and a name, adds a child to the array of children, setting its parent as the current node, as well as creating an accessor method matching that name.