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
12 13 14 |
# File 'lib/cached_nested_file_reader.rb', line 12 def depth @depth end |
#text ⇒ Object
Returns the value of attribute text
12 13 14 |
# File 'lib/cached_nested_file_reader.rb', line 12 def text @text end |
Instance Method Details
#to_s ⇒ Object
13 14 15 |
# File 'lib/cached_nested_file_reader.rb', line 13 def to_s text end |