Allow = methods for include and exclude

This commit is contained in:
Seth Vargo 2014-11-12 17:11:11 -05:00
parent ed605c9aac
commit dc8b36b31d
1 changed files with 2 additions and 0 deletions

View File

@ -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