class RDoc::Markup::Element

Base class defining the interface for all markup elements found in documentation @abstract

Public Instance Methods

@abstract

: (untyped) -> void

# File lib/rdoc/markup/element.rb, line 10
def accept(visitor)
  raise NotImplementedError, "#{self.class} must implement the accept method"
end
@abstract

: (PP) -> void

# File lib/rdoc/markup/element.rb, line 16
def pretty_print(q)
  raise NotImplementedError, "#{self.class} must implement the pretty_print method"
end