lib/nanoc/extra/deployer.rb in nanoc-4.1.1 vs lib/nanoc/extra/deployer.rb in nanoc-4.1.2
- old
+ new
@@ -16,10 +16,10 @@
attr_reader :config
# @return [Boolean] true if the deployer should only show what would be
# deployed instead of doing the actual deployment
attr_reader :dry_run
- alias_method :dry_run?, :dry_run
+ alias dry_run? dry_run
# @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