Class: Maps::TreeNode1
- Defined in:
- lib/rookout/processor/paths/canopy/maps.rb
Instance Attribute Summary collapse
-
#atom ⇒ Object
readonly
Returns the value of attribute atom.
Attributes inherited from TreeNode
Instance Method Summary collapse
-
#initialize(text, offset, elements) ⇒ TreeNode1
constructor
A new instance of TreeNode1.
Methods inherited from TreeNode
Constructor Details
#initialize(text, offset, elements) ⇒ TreeNode1
Returns a new instance of TreeNode1.
23 24 25 26 |
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 23 def initialize(text, offset, elements) super @atom = elements[0] end |
Instance Attribute Details
#atom ⇒ Object (readonly)
Returns the value of attribute atom.
21 22 23 |
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 21 def atom @atom end |