lib/bundler/vendor/thor/lib/thor/actions/create_link.rb in bundler-1.14.6 vs lib/bundler/vendor/thor/lib/thor/actions/create_link.rb in bundler-1.15.0.pre.1

- old
+ new

@@ -12,10 +12,10 @@ # # ==== Examples # # create_link "config/apache.conf", "/etc/apache.conf" # - def create_link(destination, *args, &block) + def create_link(destination, *args) config = args.last.is_a?(Hash) ? args.pop : {} source = args.first action CreateLink.new(self, destination, source, config) end alias_method :add_link, :create_link