Class: VAST::Element
- Inherits:
-
Object
- Object
- VAST::Element
- Defined in:
- lib/vast/element.rb
Instance Attribute Summary collapse
-
#source_node ⇒ Object
readonly
Returns the value of attribute source_node.
Instance Method Summary collapse
-
#initialize(node) ⇒ Element
constructor
A new instance of Element.
Constructor Details
#initialize(node) ⇒ Element
Returns a new instance of Element.
5 6 7 |
# File 'lib/vast/element.rb', line 5 def initialize(node) @source_node = node end |
Instance Attribute Details
#source_node ⇒ Object (readonly)
Returns the value of attribute source_node.
3 4 5 |
# File 'lib/vast/element.rb', line 3 def source_node @source_node end |