Class: RDoc::Markup::Element Abstract
- Inherits:
-
Object
- Object
- RDoc::Markup::Element
- 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 collapse
-
#accept(visitor) ⇒ Object
abstract
: (untyped) -> void.
-
#pretty_print(q) ⇒ Object
abstract
: (PP) -> void.
Instance Method Details
#accept(visitor) ⇒ Object
This method is abstract.
: (untyped) -> void
10 11 12 |
# File 'lib/rdoc/markup/element.rb', line 10 def accept(visitor) raise NotImplementedError, "#{self.class} must implement the accept method" end |
#pretty_print(q) ⇒ Object
This method is abstract.
: (PP) -> void
16 17 18 |
# File 'lib/rdoc/markup/element.rb', line 16 def pretty_print(q) raise NotImplementedError, "#{self.class} must implement the pretty_print method" end |