Class: RDoc::Markup::BlankLine
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/rdoc/markup/blank_line.rb |
Overview
An empty line. This class is a singleton.
Class Method Summary
-
.new ⇒ BlankLine
constructor
BlankLine
is a singleton.
Instance Method Summary
-
#accept(visitor)
Calls
#accept_blank_line
onvisitor
- #pretty_print(q) Internal use only
Constructor Details
.new ⇒ BlankLine
BlankLine
is a singleton
# File 'lib/rdoc/markup/blank_line.rb', line 12
def self.new @instance end
Instance Method Details
#accept(visitor)
Calls #accept_blank_line
on visitor
# File 'lib/rdoc/markup/blank_line.rb', line 19
def accept visitor visitor.accept_blank_line self end
#pretty_print(q)
This method is for internal use only.
[ GitHub ]
# File 'lib/rdoc/markup/blank_line.rb', line 23
def pretty_print q # :nodoc: q.text 'blankline' end