Class: TextLineToken
- Inherits:
-
Object
- Object
- TextLineToken
- Defined in:
- lib/almirah/doc_items/text_line.rb
Direct Known Subclasses
BoldAndItalicToken, BoldToken, ItalicToken, ParentheseLeft, ParentheseRight, SquareBracketLeft, SquareBracketRight, SquareBracketRightAndParentheseLeft
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize ⇒ TextLineToken
constructor
A new instance of TextLineToken.
Constructor Details
#initialize ⇒ TextLineToken
Returns a new instance of TextLineToken.
4 5 6 |
# File 'lib/almirah/doc_items/text_line.rb', line 4 def initialize @value = '' end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
2 3 4 |
# File 'lib/almirah/doc_items/text_line.rb', line 2 def value @value end |