class RDoc::RD::Inline

def self.new rdoc, reference = rdoc

def self.new rdoc, reference = rdoc
  if self === rdoc and reference.equal? rdoc then
    rdoc
  else
    super
  end
end