Class: VagrantPlugins::GoodHosts::Action::UpdateHosts

Inherits:
BaseAction
  • Object
show all
Defined in:
lib/vagrant-goodhosts/Action/UpdateHosts.rb

Overview

Update hosts

Instance Method Summary collapse

Methods inherited from BaseAction

#call, #initialize

Methods included from GoodHosts

#add_goodhost_entries, #add_host_entries, #append_hostsnames_by_ips, #check_hostnames_to_add, #disable_clean, #generate_hostnames_by_ips, #get_clean_parameter_by_system, #get_cli, #get_hostnames, #get_ips, #get_os_binary, #print_readme, #remove_goodhost_entries, #remove_host_entries

Constructor Details

This class inherits a constructor from VagrantPlugins::GoodHosts::Action::BaseAction

Instance Method Details

#run(_env) ⇒ Object



7
8
9
# File 'lib/vagrant-goodhosts/Action/UpdateHosts.rb', line 7

def run(_env)
  add_host_entries()
end