Class: Kaeriten_tag
- Inherits:
-
Kunten_tag
- Object
- Aozora_tag
- Kunten_tag
- Kaeriten_tag
- Defined in:
- lib/t2hs.rb
Instance Method Summary collapse
-
#initialize(parser, string) ⇒ Kaeriten_tag
constructor
A new instance of Kaeriten_tag.
- #to_s ⇒ Object
Methods inherited from Aozora_tag
Constructor Details
#initialize(parser, string) ⇒ Kaeriten_tag
Returns a new instance of Kaeriten_tag.
547 548 549 550 |
# File 'lib/t2hs.rb', line 547 def initialize (parser, string) @string = string super end |
Instance Method Details
#to_s ⇒ Object
551 552 553 |
# File 'lib/t2hs.rb', line 551 def to_s "<sub class=\"kaeriten\">#{@string.to_s}</sub>" end |