Class: Maps::TreeNode20
- Defined in:
- lib/rookout/processor/paths/canopy/maps.rb
Instance Attribute Summary collapse
-
#__ ⇒ Object
readonly
Returns the value of attribute __.
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Attributes inherited from TreeNode
Instance Method Summary collapse
-
#initialize(text, offset, elements) ⇒ TreeNode20
constructor
A new instance of TreeNode20.
Methods inherited from TreeNode
Constructor Details
#initialize(text, offset, elements) ⇒ TreeNode20
Returns a new instance of TreeNode20.
201 202 203 204 205 |
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 201 def initialize(text, offset, elements) super @__ = elements[2] @data = elements[1] end |
Instance Attribute Details
#__ ⇒ Object (readonly)
Returns the value of attribute __.
199 200 201 |
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 199 def __ @__ end |
#data ⇒ Object (readonly)
Returns the value of attribute data.
199 200 201 |
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 199 def data @data end |