Object
Inline keeps track of markup and labels to create proper links.
Appends more
to this inline. more
may be a
String or another Inline.
# File rdoc/rd/inline.rb, line 49 def append more case more when String then @reference << more @rdoc << more when RDoc::RD::Inline then @reference << more.reference @rdoc << more.rdoc else raise "unknown thingy #{more}" end self end
Initializes the Inline with rdoc
and
inline
# File rdoc/rd/inline.rb, line 33 def initialize rdoc, reference # :not-new: @reference = reference.equal?(rdoc) ? reference.dup : reference # unpack @reference = @reference.reference if self.class === @reference @rdoc = rdoc end