Method: Jekyll::Regenerator#initialize
- Defined in:
- lib/jekyll/regenerator.rb
#initialize(site) ⇒ Regenerator
Returns a new instance of Regenerator.
9 10 11 12 13 14 15 16 17 |
# File 'lib/jekyll/regenerator.rb', line 9 def initialize(site) @site = site # Read metadata from file # Initialize cache to an empty hash clear_cache end |