class HTML::Pipeline::DashFilter
Public Instance Methods
call()
click to toggle source
# File lib/html/pipeline/bungo/dash_filter.rb, line 5 def call dash_filter(@text) end
Private Instance Methods
dash_filter(text)
click to toggle source
# File lib/html/pipeline/bungo/dash_filter.rb, line 11 def dash_filter(text) text.gsub(':--', "<span class='dash'>――</span>") end