Class: Inline_yokogumi_tag
- Inherits:
-
Reference_mentioned_tag
- Object
- Aozora_tag
- Reference_mentioned_tag
- Inline_yokogumi_tag
- Defined in:
- lib/t2hs.rb
Instance Attribute Summary
Attributes inherited from Reference_mentioned_tag
Instance Method Summary collapse
-
#initialize(parser, target) ⇒ Inline_yokogumi_tag
constructor
A new instance of Inline_yokogumi_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_yokogumi_tag
Returns a new instance of Inline_yokogumi_tag.
577 578 579 580 |
# File 'lib/t2hs.rb', line 577 def initialize (parser, target) @target = target super end |
Instance Method Details
#to_s ⇒ Object
581 582 583 |
# File 'lib/t2hs.rb', line 581 def to_s "<span class=\"yokogumi\">#{@target.to_s}</span>" end |