class RDoc::Markup::Raw
A section of text that is added to the output document as-is
Attributes
Public Class Methods
Public Instance Methods
# File vendor/bundle/ruby/4.0.0/gems/rdoc-8.0.0/lib/rdoc/markup/raw.rb, line 19 def <<(text) @parts << text end
Appends text
(untyped) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rdoc-8.0.0/lib/rdoc/markup/raw.rb, line 31 def accept(visitor) visitor.accept_raw(self) end
Calls #accept_raw+ on visitor @override
(Raw) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rdoc-8.0.0/lib/rdoc/markup/raw.rb, line 37 def merge(other) @parts.concat(other.parts) end
Appends other‘s parts