Class: AsciidoctorVaped::Converter::BaseConverter
- Inherits:
-
Object
- Object
- AsciidoctorVaped::Converter::BaseConverter
- Defined in:
- lib/asciidoctor_vaped/converter/base_converter.rb
Constant Summary collapse
- TEXT_NODE_CONTEXTS =
%i[text link strong emphasis monospace].freeze
Instance Method Summary collapse
- #convert(_document) ⇒ Object
-
#initialize(options = {}) ⇒ BaseConverter
constructor
A new instance of BaseConverter.
Constructor Details
#initialize(options = {}) ⇒ BaseConverter
Returns a new instance of BaseConverter.
10 11 12 |
# File 'lib/asciidoctor_vaped/converter/base_converter.rb', line 10 def initialize( = {}) @options = end |
Instance Method Details
#convert(_document) ⇒ Object
14 15 16 |
# File 'lib/asciidoctor_vaped/converter/base_converter.rb', line 14 def convert(_document) raise NotImplementedError, "#{self.class} must implement #convert" end |