Support for the Ruby 2.1 series ended on March 31 2017. See here for details.

In Files

  • rdoc/markup/hard_break.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

RDoc::Markup::HardBreak

A hard-break in the middle of a paragraph.

Public Class Methods

new() click to toggle source

RDoc::Markup::HardBreak is a singleton

 
               # File rdoc/markup/hard_break.rb, line 11
def self.new
  @instance
end
            

Public Instance Methods

accept(visitor) click to toggle source

Calls accept_hard_break on visitor

 
               # File rdoc/markup/hard_break.rb, line 18
def accept visitor
  visitor.accept_hard_break self
end