Module: VagrantPlugins::Registration::Action

Defined in:
lib/vagrant-registration/action.rb,
lib/vagrant-registration/action/register.rb,
lib/vagrant-registration/action/unregister_on_halt.rb,
lib/vagrant-registration/action/unregister_on_destroy.rb

Defined Under Namespace

Classes: Register, UnregisterOnDestroy, UnregisterOnHalt

Class Method Summary collapse

Class Method Details

.action_registerObject



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

def self.action_register
  Vagrant::Action::Builder.new.tap do |b|
    b.use Register
  end
end

.action_unregister_on_destroyObject



17
18
19
20
21
# File 'lib/vagrant-registration/action.rb', line 17

def self.action_unregister_on_destroy
  Vagrant::Action::Builder.new.tap do |b|
    b.use UnregisterOnDestroy
  end
end

.action_unregister_on_haltObject



11
12
13
14
15
# File 'lib/vagrant-registration/action.rb', line 11

def self.action_unregister_on_halt
  Vagrant::Action::Builder.new.tap do |b|
    b.use UnregisterOnHalt
  end
end