From dc8b36b31dde5a60d1634c1286badb17975b70b4 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Wed, 12 Nov 2014 17:11:11 -0500 Subject: [PATCH] Allow = methods for include and exclude --- plugins/pushes/ftp/config.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/pushes/ftp/config.rb b/plugins/pushes/ftp/config.rb index 7ee1961a4..e493259db 100644 --- a/plugins/pushes/ftp/config.rb +++ b/plugins/pushes/ftp/config.rb @@ -109,12 +109,14 @@ module VagrantPlugins def include(filepath) @includes << filepath end + alias_method :include=, :include # Add the filepath to the list of excludes # @param [String] filepath def exclude(filepath) @excludes << filepath end + alias_method :exclude=, :exclude private