Class: AdfBuilder::Nodes::GenericNode
- Defined in:
- lib/adf_builder/nodes/node.rb
Instance Attribute Summary
Attributes inherited from Node
#attributes, #children, #tag_name, #value
Instance Method Summary collapse
-
#initialize(tag_name, attributes = {}, value = nil) ⇒ GenericNode
constructor
A new instance of GenericNode.
Methods inherited from Node
#add_child, #method_missing, #remove_children, #respond_to_missing?, #to_xml
Methods included from Validations
Constructor Details
#initialize(tag_name, attributes = {}, value = nil) ⇒ GenericNode
Returns a new instance of GenericNode.
60 61 62 63 64 65 |
# File 'lib/adf_builder/nodes/node.rb', line 60 def initialize(tag_name, attributes = {}, value = nil) super() @tag_name = tag_name @attributes = attributes @value = value end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class AdfBuilder::Nodes::Node