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 11

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 18

def accept visitor
  visitor.accept_blank_line self
end