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.



12
13
14
15
# File 'lib/Parsers/MarkupStyleRender.rb', line 12

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

Instance Attribute Details

#charsObject

Returns the value of attribute chars.



11
12
13
# File 'lib/Parsers/MarkupStyleRender.rb', line 11

def chars
  @chars
end

#typeObject

Returns the value of attribute type.



11
12
13
# File 'lib/Parsers/MarkupStyleRender.rb', line 11

def type
  @type
end