class RDoc::Markup::Element
Base class defining the interface for all markup elements found in documentation @abstract
Public Instance Methods
Source
# File lib/rdoc/markup/element.rb, line 10 def accept(visitor) raise NotImplementedError, "#{self.class} must implement the accept method" end
@abstract
: (untyped) -> void
Source
# File lib/rdoc/markup/element.rb, line 16 def pretty_print(q) raise NotImplementedError, "#{self.class} must implement the pretty_print method" end
@abstract
: (PP) -> void