123456789_123456789_123456789_123456789_123456789_

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

Instance Method Summary

Constructor Details

.newBlankLine

BlankLine is a singleton

[ GitHub ]

  
# 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

[ GitHub ]

  
# 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