Update docs for action trigger actions
This commit is contained in:
parent
fefb702359
commit
ebacb96626
|
@ -1,9 +1,14 @@
|
||||||
module Vagrant
|
module Vagrant
|
||||||
module Action
|
module Action
|
||||||
module Builtin
|
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
|
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)
|
def initialize(app, env, action_name, triggers)
|
||||||
@app = app
|
@app = app
|
||||||
@env = env
|
@env = env
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
module Vagrant
|
module Vagrant
|
||||||
module Action
|
module Action
|
||||||
module Builtin
|
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
|
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)
|
def initialize(app, env, action_name, triggers)
|
||||||
@app = app
|
@app = app
|
||||||
@env = env
|
@env = env
|
||||||
|
|
Loading…
Reference in New Issue