Class: RDoc::Markup::Element Abstract
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
|
Subclasses:
|
|
| Inherits: | Object |
| Defined in: | lib/rdoc/markup/element.rb |
Overview
This class is abstract.
Base class defining the interface for all markup elements found in documentation
Instance Method Summary
-
#accept(visitor)
abstract
: (untyped) -> void.
-
#pretty_print(q)
abstract
: (PP) -> void.
Instance Method Details
#accept(visitor)
This method is abstract.
: (untyped) -> void
# File 'lib/rdoc/markup/element.rb', line 10
def accept(visitor) raise NotImplementedError, "#{self.class} must implement the accept method" end
#pretty_print(q)
This method is 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