Class: Doct::Formats::Base
- Inherits:
-
Object
- Object
- Doct::Formats::Base
- Defined in:
- lib/doct/formats/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(path) ⇒ Base
constructor
A new instance of Base.
- #placeholders ⇒ Object
- #render(params) ⇒ Object
Constructor Details
#initialize(path) ⇒ Base
Returns a new instance of Base.
3 4 5 |
# File 'lib/doct/formats/base.rb', line 3 def initialize(path) @template_path = path end |
Instance Method Details
#placeholders ⇒ Object
9 10 11 |
# File 'lib/doct/formats/base.rb', line 9 def placeholders raise NotImplementedError end |
#render(params) ⇒ Object
6 7 8 |
# File 'lib/doct/formats/base.rb', line 6 def render(params) raise NotImplementedError end |