Class: MarkupStyleRender::TextChar

Inherits:
Object
  • Object
show all
Defined in:
lib/Parsers/MarkupStyleRender.rb

Direct Known Subclasses

TagChar

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(chars, type) ⇒ TextChar

Returns a new instance of TextChar.



32
33
34
35
# File 'lib/Parsers/MarkupStyleRender.rb', line 32

def initialize(chars, type)
    @chars = chars
    @type = type
end

Instance Attribute Details

#charsObject

Returns the value of attribute chars.



31
32
33
# File 'lib/Parsers/MarkupStyleRender.rb', line 31

def chars
  @chars
end

#typeObject

Returns the value of attribute type.



31
32
33
# File 'lib/Parsers/MarkupStyleRender.rb', line 31

def type
  @type
end