Class: JekyllNotion::AbstractGenerator
- Inherits:
-
Object
- Object
- JekyllNotion::AbstractGenerator
show all
- Defined in:
- lib/jekyll-notion/abstract_generator.rb
Instance Method Summary
collapse
Constructor Details
#initialize(db:, site:, plugin:) ⇒ AbstractGenerator
5
6
7
8
9
|
# File 'lib/jekyll-notion/abstract_generator.rb', line 5
def initialize(db:, site:, plugin:)
@db = db
@site = site
@plugin = plugin
end
|
Instance Method Details
#generate ⇒ Object
11
12
13
|
# File 'lib/jekyll-notion/abstract_generator.rb', line 11
def generate
raise "Do not use the AbstractGenerator class directly. Implement the generate method in a subclass."
end
|