Allow = methods for include and exclude
This commit is contained in:
parent
ed605c9aac
commit
dc8b36b31d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue