class Aozora2Html::Tag::Jisage

字下げ用

Public Class Methods

new(parser, width) click to toggle source
Calls superclass method Aozora2Html::Tag::Block::new
# File lib/aozora2html/tag/jisage.rb, line 7
def initialize(parser, width)
  @width = width
  super
end

Public Instance Methods

to_s() click to toggle source
# File lib/aozora2html/tag/jisage.rb, line 12
def to_s
  "<div class=\"jisage_#{@width}\" style=\"margin-left: #{@width}em\">"
end