method

new

v2_1_10 - Show latest stable - Class: RDoc::RD::Inline
new(rdoc, reference = rdoc)
public

Creates a new Inline for rdoc and reference.

rdoc may be another Inline or a String. If reference is not given it will use the text from rdoc.