Module: VagrantPlugins::Hostentries::Action

Defined in:
lib/vagrant-hostentries/action.rb,
lib/vagrant-hostentries/action/remove_hosts_entry.rb,
lib/vagrant-hostentries/action/update_hosts_entry.rb

Defined Under Namespace

Classes: RemoveHostsEntry, UpdateHostsEntry

Class Method Summary collapse

Class Method Details

.remove_hosts_entryObject



15
16
17
18
19
# File 'lib/vagrant-hostentries/action.rb', line 15

def remove_hosts_entry
  @remove_hosts_entry ||= ::Vagrant::Action::Builder.new.tap do |b|
    b.use VagrantPlugins::Hostentries::Action::RemoveHostsEntry
  end
end

.update_hosts_entryObject



8
9
10
11
12
13
# File 'lib/vagrant-hostentries/action.rb', line 8

def update_hosts_entry
  #@update_hosts_entry ||= ::
  Vagrant::Action::Builder.new.tap do |b|
    b.use VagrantPlugins::Hostentries::Action::UpdateHostsEntry
  end
end