Class: Maps::TreeNode4
- Defined in:
- lib/rookout/processor/paths/canopy/maps.rb
Instance Attribute Summary collapse
-
#variable ⇒ Object
readonly
Returns the value of attribute variable.
Attributes inherited from TreeNode
Instance Method Summary collapse
-
#initialize(text, offset, elements) ⇒ TreeNode4
constructor
A new instance of TreeNode4.
Methods inherited from TreeNode
Constructor Details
#initialize(text, offset, elements) ⇒ TreeNode4
Returns a new instance of TreeNode4.
51 52 53 54 |
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 51 def initialize(text, offset, elements) super @variable = elements[1] end |
Instance Attribute Details
#variable ⇒ Object (readonly)
Returns the value of attribute variable.
49 50 51 |
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 49 def variable @variable end |