class Aozora2Html::Tag::Dir
書字方向(LTR)の指定用
Public Class Methods
new(parser, target)
click to toggle source
Calls superclass method
Aozora2Html::Tag::ReferenceMentioned::new
# File lib/aozora2html/tag/dir.rb, line 7 def initialize(parser, target) @target = target super end
Public Instance Methods
to_s()
click to toggle source
# File lib/aozora2html/tag/dir.rb, line 12 def to_s "<span dir=\"ltr\">#{@target}</span>" end