123456789_123456789_123456789_123456789_123456789_

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

Instance Method Summary

Constructor Details

.newHardBreak

HardBreak is a singleton

[ GitHub ]

  
# 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

[ GitHub ]

  
# File 'lib/rdoc/markup/hard_break.rb', line 18

def accept visitor
  visitor.accept_hard_break self
end