Class: Bunto::BuntoFeed
- Inherits:
-
Generator
- Object
- Generator
- Bunto::BuntoFeed
- Defined in:
- lib/bunto/bunto-feed.rb
Instance Method Summary collapse
-
#generate(site) ⇒ Object
Main plugin action, called by Bunto-core.
Instance Method Details
#generate(site) ⇒ Object
Main plugin action, called by Bunto-core
9 10 11 12 13 14 15 |
# File 'lib/bunto/bunto-feed.rb', line 9 def generate(site) @site = site @site.config["time"] = Time.new unless feed_exists? @site.pages << feed_content end end |