Class: Rookout::Processor::Paths::Canopy::ObjectMarker
- Defined in:
- lib/rookout/processor/paths/canopy/markers.rb
Direct Known Subclasses
Bool, Char, FloatNumber, List, NamespaceResult, Nil, Number, Text, TextResult, ToolExceptionMarker
Instance Attribute Summary collapse
-
#obj ⇒ Object
readonly
Returns the value of attribute obj.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(text, obj) ⇒ ObjectMarker
constructor
A new instance of ObjectMarker.
- #to_s ⇒ Object
Constructor Details
#initialize(text, obj) ⇒ ObjectMarker
Returns a new instance of ObjectMarker.
72 73 74 75 76 |
# File 'lib/rookout/processor/paths/canopy/markers.rb', line 72 def initialize text, obj super() @text = text @obj = obj end |
Instance Attribute Details
#obj ⇒ Object (readonly)
Returns the value of attribute obj.
79 80 81 |
# File 'lib/rookout/processor/paths/canopy/markers.rb', line 79 def obj @obj end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
78 79 80 |
# File 'lib/rookout/processor/paths/canopy/markers.rb', line 78 def text @text end |
Instance Method Details
#to_s ⇒ Object
81 82 83 |
# File 'lib/rookout/processor/paths/canopy/markers.rb', line 81 def to_s @obj.to_s end |