Class: Inline_keigakomi_tag
- Inherits:
-
Reference_mentioned_tag
- Object
- Aozora_tag
- Reference_mentioned_tag
- Inline_keigakomi_tag
- Defined in:
- lib/t2hs.rb
Instance Attribute Summary
Attributes inherited from Reference_mentioned_tag
Instance Method Summary collapse
-
#initialize(parser, target) ⇒ Inline_keigakomi_tag
constructor
A new instance of Inline_keigakomi_tag.
- #to_s ⇒ Object
Methods inherited from Reference_mentioned_tag
#block_element?, #target_string
Methods inherited from Aozora_tag
Constructor Details
#initialize(parser, target) ⇒ Inline_keigakomi_tag
Returns a new instance of Inline_keigakomi_tag.
567 568 569 570 |
# File 'lib/t2hs.rb', line 567 def initialize (parser, target) @target = target super end |
Instance Method Details
#to_s ⇒ Object
571 572 573 |
# File 'lib/t2hs.rb', line 571 def to_s "<span class=\"keigakomi\">#{@target.to_s}</span>" end |