method
accept_heading
v1_9_2_180 -
Show latest stable
- Class:
RDoc::Markup::ToBs
accept_heading(heading)public
No documentation available.
# File lib/rdoc/markup/to_bs.rb, line 27
def accept_heading heading
use_prefix or @res << ' ' * @indent
@res << @headings[heading.level][0]
@in_b = true
@res << attributes(heading.text)
@in_b = false
@res << @headings[heading.level][1]
@res << "\n"
end