class Photish::Command::Worker
Public Instance Methods
run()
click to toggle source
# File lib/photish/command/worker.rb, line 4 def run log.debug "Worker ##{worker_index} starting" load_all_plugins render_whole_site log.debug "Site generation completed, by Worker ##{worker_index}" end
Private Instance Methods
collection()
click to toggle source
# File lib/photish/command/worker.rb, line 29 def collection @collection ||= Gallery::Collection.new(config) end
render_whole_site()
click to toggle source
# File lib/photish/command/worker.rb, line 24 def render_whole_site Render::Gallery.new(config, version_hash) .all_for(collection) end