Class: Aozora2Html::Tag::Kaeriten
- Inherits:
-
Kunten
- Object
- Aozora2Html::Tag
- Inline
- Kunten
- Aozora2Html::Tag::Kaeriten
- Defined in:
- lib/aozora2html/tag/kaeriten.rb
Overview
返り点用
Instance Method Summary collapse
-
#initialize(parser, string) ⇒ Kaeriten
constructor
A new instance of Kaeriten.
- #to_s ⇒ Object
Methods inherited from Kunten
Methods inherited from Aozora2Html::Tag
#char_type, #inspect, #syntax_error
Constructor Details
#initialize(parser, string) ⇒ Kaeriten
7 8 9 10 |
# File 'lib/aozora2html/tag/kaeriten.rb', line 7 def initialize(parser, string) @string = string super end |
Instance Method Details
#to_s ⇒ Object
12 13 14 |
# File 'lib/aozora2html/tag/kaeriten.rb', line 12 def to_s "<sub class=\"kaeriten\">#{@string}</sub>" end |