class RDoc::Markup::Raw
def << text
def << text @parts << text end
def == other # :nodoc:
def == other # :nodoc: self.class == other.class and text == other.text end
def accept visitor
def accept visitor visitor.accept_raw self end
def initialize *parts
def initialize *parts @parts = [] @parts.push(*parts) end
def merge other
def merge other @parts.push(*other.parts) end
def pretty_print q # :nodoc:
def pretty_print q # :nodoc: self.class.name =~ /.*::(\w{4})/i q.group 2, "[#{$1.downcase}: ", ']' do q.seplist @parts do |part| q.pp part end end end
def push *texts
def push *texts self.parts.push(*texts) end
def text
def text @parts.join ' ' end