Update docs for action trigger actions
This commit is contained in:
parent
fefb702359
commit
ebacb96626
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue