Module: VagrantPlugins::Triggers::Action

Defined in:
lib/vagrant-triggers/action.rb,
lib/vagrant-triggers/action/trigger.rb

Defined Under Namespace

Classes: Trigger

Class Method Summary collapse

Class Method Details

.action_trigger(condition) ⇒ Object



4
5
6
7
8
# File 'lib/vagrant-triggers/action.rb', line 4

def self.action_trigger(condition)
  Vagrant::Action::Builder.new.tap do |b|
    b.use Trigger, condition
  end
end