class Aozora2Html::Tag::InlineCaption

インラインキャプション

Public Class Methods

new(parser, target) click to toggle source
# File lib/aozora2html/tag/inline_caption.rb, line 7
def initialize(parser, target)
  @target = target
  super
end

Public Instance Methods

to_s() click to toggle source
# File lib/aozora2html/tag/inline_caption.rb, line 12
def to_s
  "<span class=\"caption\">#{@target}</span>"
end