Class: Jekyll::Csv::Generator
- Inherits:
-
Generator
- Object
- Generator
- Jekyll::Csv::Generator
- Defined in:
- lib/jekyll/csv.rb
Instance Method Summary collapse
Instance Method Details
#generate(site) ⇒ Object
51 52 53 54 55 56 57 |
# File 'lib/jekyll/csv.rb', line 51 def generate(site) return unless site.config['csv'] site.config['csv'].each do |collection_name, conf| conf['collection_name'] = collection_name CollectionPopulator.new(conf).populate(site) end end |