Class: RDoc::Markup::BlankLine
- Inherits:
-
Object
- Object
- RDoc::Markup::BlankLine
- Defined in:
- lib/rdoc/markup/blank_line.rb
Overview
An empty line. This class is a singleton.
Class Method Summary collapse
-
.new ⇒ Object
RDoc::Markup::BlankLine is a singleton.
Instance Method Summary collapse
-
#accept(visitor) ⇒ Object
Calls #accept_blank_line on
visitor
. -
#pretty_print(q) ⇒ Object
:nodoc:.
Class Method Details
.new ⇒ Object
RDoc::Markup::BlankLine is a singleton
12 13 14 |
# File 'lib/rdoc/markup/blank_line.rb', line 12 def self.new @instance end |
Instance Method Details
#accept(visitor) ⇒ Object
Calls #accept_blank_line on visitor
19 20 21 |
# File 'lib/rdoc/markup/blank_line.rb', line 19 def accept visitor visitor.accept_blank_line self end |
#pretty_print(q) ⇒ Object
:nodoc:
23 24 25 |
# File 'lib/rdoc/markup/blank_line.rb', line 23 def pretty_print q # :nodoc: q.text 'blankline' end |