Class: MarkupStyleRender::TextChar
- Inherits:
-
Object
- Object
- MarkupStyleRender::TextChar
- Defined in:
- lib/Parsers/MarkupStyleRender.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#chars ⇒ Object
Returns the value of attribute chars.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(chars, type) ⇒ TextChar
constructor
A new instance of TextChar.
Constructor Details
#initialize(chars, type) ⇒ TextChar
Returns a new instance of TextChar.
12 13 14 15 |
# File 'lib/Parsers/MarkupStyleRender.rb', line 12 def initialize(chars, type) @chars = chars @type = type end |
Instance Attribute Details
#chars ⇒ Object
Returns the value of attribute chars.
11 12 13 |
# File 'lib/Parsers/MarkupStyleRender.rb', line 11 def chars @chars end |
#type ⇒ Object
Returns the value of attribute type.
11 12 13 |
# File 'lib/Parsers/MarkupStyleRender.rb', line 11 def type @type end |