Class: NestedLine
Overview
a struct to hold the data for a single line
Instance Attribute Summary collapse
-
#depth ⇒ Object
Returns the value of attribute depth.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#depth ⇒ Object
Returns the value of attribute depth
58 59 60 |
# File 'lib/constants.rb', line 58 def depth @depth end |
#text ⇒ Object
Returns the value of attribute text
58 59 60 |
# File 'lib/constants.rb', line 58 def text @text end |
Instance Method Details
#to_s ⇒ Object
59 60 61 |
# File 'lib/constants.rb', line 59 def to_s text end |