module RD::RD2HTMLExtVisitor::HeadLineTitle
<H1> to <Title>
Public Instance Methods
apply_to_Headline(element, title)
click to toggle source
Calls superclass method
# File lib/rd/rd2html-ext-lib.rb, line 92 def apply_to_Headline(element, title) make_title(title) super end
make_title(title)
click to toggle source
# File lib/rd/rd2html-ext-lib.rb, line 85 def make_title(title) unless @headline_called || @title then @title = title.join.strip @headline_called = true end end
title_init()
click to toggle source
# File lib/rd/rd2html-ext-lib.rb, line 81 def title_init @headline_called = false end