Class: Jizume_tag
- Inherits:
-
Indent_tag
- Object
- Aozora_tag
- Indent_tag
- Jizume_tag
- Includes:
- Multiline_tag
- Defined in:
- lib/t2hs.rb
Instance Method Summary collapse
-
#initialize(parser, width) ⇒ Jizume_tag
constructor
A new instance of Jizume_tag.
- #to_s ⇒ Object
Methods included from Block_tag
Methods inherited from Aozora_tag
Constructor Details
#initialize(parser, width) ⇒ Jizume_tag
Returns a new instance of Jizume_tag.
227 228 229 230 |
# File 'lib/t2hs.rb', line 227 def initialize (parser, width) @w = width super end |
Instance Method Details
#to_s ⇒ Object
231 232 233 |
# File 'lib/t2hs.rb', line 231 def to_s "<div class=\"jizume_#{@w}\" style=\"width: #{@w}em\">" end |