A section of text that is added to the output document as-is
Methods
Attributes
| [R] | parts | The component parts of the list |
Class Public methods
new(*parts)
Link
Creates a new Raw containing parts
Source: show
# File lib/rdoc/markup/raw.rb, line 14 def initialize *parts @parts = [] @parts.concat parts end
Instance Public methods
<<(text)
Link
Appends text
Source: show
# File lib/rdoc/markup/raw.rb, line 22 def << text @parts << text end
accept(visitor)
Link
Calls accept_raw+ on visitor
Source: show
# File lib/rdoc/markup/raw.rb, line 33 def accept visitor visitor.accept_raw self end
merge(other)
Link
Appends other's parts
Source: show
# File lib/rdoc/markup/raw.rb, line 40 def merge other @parts.concat other.parts end