Module: VagrantPlugins::Hosts::Action

Defined in:
lib/vagrant-hosts/action.rb,
lib/vagrant-hosts/action/remove_hosts_entry.rb,
lib/vagrant-hosts/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-hosts/action.rb', line 15

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

.update_hosts_entryObject



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

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