lib/nanoc/extra/deployer.rb in nanoc-3.6.7 vs lib/nanoc/extra/deployer.rb in nanoc-3.6.8

- old
+ new

@@ -27,20 +27,20 @@ # # @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 - def initialize(source_path, config, params={}) + def initialize(source_path, config, params = {}) @source_path = source_path @config = config @dry_run = params.fetch(:dry_run) { false } end # Performs the actual deployment. # # @abstract def run - raise NotImplementedError.new("Nanoc::Extra::Deployer subclasses must implement #run") + raise NotImplementedError.new('Nanoc::Extra::Deployer subclasses must implement #run') end end end