Class: Maps::TreeNode2
- Defined in:
- lib/rookout/processor/paths/canopy/maps.rb
Instance Attribute Summary collapse
-
#atom ⇒ Object
readonly
Returns the value of attribute atom.
-
#opt_ ⇒ Object
readonly
Returns the value of attribute opt_.
Attributes inherited from TreeNode
Instance Method Summary collapse
-
#initialize(text, offset, elements) ⇒ TreeNode2
constructor
A new instance of TreeNode2.
Methods inherited from TreeNode
Constructor Details
#initialize(text, offset, elements) ⇒ TreeNode2
Returns a new instance of TreeNode2.
32 33 34 35 36 |
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 32 def initialize(text, offset, elements) super @opt_ = elements[0] @atom = elements[1] end |
Instance Attribute Details
#atom ⇒ Object (readonly)
Returns the value of attribute atom.
30 31 32 |
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 30 def atom @atom end |
#opt_ ⇒ Object (readonly)
Returns the value of attribute opt_.
30 31 32 |
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 30 def opt_ @opt_ end |