Class: VagrantPlugins::VirtualHostsUpdater::Action::UpdateHosts
- Inherits:
-
BaseAction
- Object
- BaseAction
- VagrantPlugins::VirtualHostsUpdater::Action::UpdateHosts
- Defined in:
- lib/vagrant-virtual-hostsupdater/Action/UpdateHosts.rb
Instance Method Summary collapse
Methods inherited from BaseAction
Methods included from VirtualHostsUpdater
#addHostEntries, #addToHosts, #adviseOnSudo, #cacheHostEntries, #createHostEntry, #getHostnames, #hostEntryPattern, #host_entry, #removeFromHosts, #removeHostEntries, #signature, #sudo
Constructor Details
This class inherits a constructor from VagrantPlugins::VirtualHostsUpdater::Action::BaseAction
Instance Method Details
#run(env) ⇒ Object
6 7 8 9 |
# File 'lib/vagrant-virtual-hostsupdater/Action/UpdateHosts.rb', line 6 def run(env) @ui.info "[vagrant-virtual-hostsupdater] Checking for host entries" addHostEntries() end |