diff --git a/lib/vagrant/action/builtin/after_trigger.rb b/lib/vagrant/action/builtin/after_trigger.rb index e22097fd7..1cf499335 100644 --- a/lib/vagrant/action/builtin/after_trigger.rb +++ b/lib/vagrant/action/builtin/after_trigger.rb @@ -1,9 +1,14 @@ module Vagrant module Action module Builtin - # After Trigger + # This class is intended to be used by the Action::Warden class for executing + # action triggers before any given action. + # + # @param [Symbol] action_name - name to fire trigger on + # @param [Vagrant::Plugin::V2::Triger] triggers - trigger object class AfterTriggerAction - # @param [Symbol] action_name - The action class name to fire on + # @param [Symbol] action_name - The action class name to fire trigger on + # @param [Vagrant::Plugin::V2::Triger] triggers - trigger object def initialize(app, env, action_name, triggers) @app = app @env = env diff --git a/lib/vagrant/action/builtin/before_trigger.rb b/lib/vagrant/action/builtin/before_trigger.rb index 43f57678d..0f52f8616 100644 --- a/lib/vagrant/action/builtin/before_trigger.rb +++ b/lib/vagrant/action/builtin/before_trigger.rb @@ -1,8 +1,11 @@ module Vagrant module Action module Builtin - # Before trigger + # This class is intended to be used by the Action::Warden class for executing + # action triggers before any given action. class BeforeTriggerAction + # @param [Symbol] action_name - The action class name to fire trigger on + # @param [Vagrant::Plugin::V2::Triger] triggers - trigger object def initialize(app, env, action_name, triggers) @app = app @env = env