Class: JekyllTestPlugin::TestGenerator

Inherits:
Jekyll::Generator
  • Object
show all
Defined in:
lib/jekyll_test_plugin.rb

Instance Method Summary collapse

Instance Method Details

#generate(site) ⇒ Object


20
21
22
# File 'lib/jekyll_test_plugin.rb', line 20

def generate(site)
  site.pages << TestPage.new(site, site.source, '', 'test.txt')
end