lib/vagrant-betterhosts/Action/UpdateHosts.rb in vagrant-betterhosts-0.2.1 vs lib/vagrant-betterhosts/Action/UpdateHosts.rb in vagrant-betterhosts-1.1.6
- old
+ new
@@ -1,14 +1,13 @@
+# Run when is adding hosts
module VagrantPlugins
module BetterHosts
module Action
+ # Update hosts
class UpdateHosts < BaseAction
-
- def run(env)
- @ui.info "[vagrant-betterhosts] Checking for host entries"
- addHostEntries()
+ def run(_env)
+ add_host_entries()
end
-
end
end
end
end