Class: RDoc::Markup::HardBreak
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/rdoc/markup/hard_break.rb |
Overview
A hard-break in the middle of a paragraph.
Class Method Summary
-
.new ⇒ HardBreak
constructor
HardBreak
is a singleton.
Instance Method Summary
-
#accept(visitor)
Calls
#accept_hard_break
onvisitor
Constructor Details
.new ⇒ HardBreak
HardBreak
is a singleton
# File 'lib/rdoc/markup/hard_break.rb', line 11
def self.new @instance end
Instance Method Details
#accept(visitor)
Calls #accept_hard_break
on visitor
# File 'lib/rdoc/markup/hard_break.rb', line 18
def accept visitor visitor.accept_hard_break self end