Represents a deployer, an object that allows uploading the compiled site to a specific (remote) location.
@abstract Subclass and override {run} to implement a custom filter.
@return [Boolean] true if the deployer should only show what would be
deployed instead of doing the actual deployment
@param [String] source_path The path to the directory that contains the
files to upload. It should not have a trailing slash.
@return [Hash] config The deployer configuration
@option params [Boolean] :dry_run (false) true if the deployer should
only show what would be deployed instead actually deploying
# File lib/nanoc/extra/deployer.rb, line 31 def initialize(source_path, config, params={}) @source_path = source_path @config = config @dry_run = params.fetch(:dry_run) { false } end
Generated with the Darkfish Rdoc Generator 2.