Class: Aozora2Html::Tag::Kaeriten

Inherits:
Kunten show all
Defined in:
lib/aozora2html/tag/kaeriten.rb

Overview

返り点用

Instance Method Summary collapse

Methods inherited from Kunten

#char_type

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_sObject



12
13
14
# File 'lib/aozora2html/tag/kaeriten.rb', line 12

def to_s
  "<sub class=\"kaeriten\">#{@string}</sub>"
end