Update method documentation to correctly describe method

This commit is contained in:
Chris Roberts 2017-05-09 09:13:14 -07:00
parent bf04b97ff3
commit 39606e833f
1 changed files with 2 additions and 1 deletions

View File

@ -5,13 +5,14 @@ require "vagrant/action/builder"
module VagrantPlugins module VagrantPlugins
module CommandPlugin module CommandPlugin
module Action module Action
# This middleware sequence will install a plugin. # This middleware sequence will remove all plugins.
def self.action_expunge def self.action_expunge
Vagrant::Action::Builder.new.tap do |b| Vagrant::Action::Builder.new.tap do |b|
b.use ExpungePlugins b.use ExpungePlugins
end end
end end
# This middleware sequence will install a plugin.
def self.action_install def self.action_install
Vagrant::Action::Builder.new.tap do |b| Vagrant::Action::Builder.new.tap do |b|
b.use InstallGem b.use InstallGem