Class: Doct::Formats::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/doct/formats/base.rb

Direct Known Subclasses

OpenFormat

Instance Method Summary collapse

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

#placeholdersObject

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/doct/formats/base.rb', line 9

def placeholders
  raise NotImplementedError
end

#render(params) ⇒ Object

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/doct/formats/base.rb', line 6

def render(params)
  raise NotImplementedError
end