class RDoc::Markup::Raw
A section of text that is added to the output document as-is
Attributes
The component parts of the list
Public Class Methods
Source
# File lib/rdoc/markup/raw.rb, line 15 def initialize *parts @parts = [] @parts.concat parts end
Creates a new Raw
containing parts
Public Instance Methods
Source
# File lib/rdoc/markup/raw.rb, line 34 def accept visitor visitor.accept_raw self end
Calls accept_raw+ on visitor
Source
# File lib/rdoc/markup/raw.rb, line 41 def merge other @parts.concat other.parts end
Appends other
‘s parts
Source
# File lib/rdoc/markup/raw.rb, line 58 def push *texts self.parts.concat texts end
Appends texts
onto this Paragraph