class Aozora2Html::Tag::Jizume

字詰め用

Public Class Methods

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

Public Instance Methods

to_s() click to toggle source
# File lib/aozora2html/tag/jizume.rb, line 14
def to_s
  "<div class=\"jizume_#{@w}\" style=\"width: #{@w}em\">"
end