Sha256: 0f960820dae8acb07f2dd7ba1b24e9b5a6e9b1d94d7fa6d2be416caf901eda74
Contents?: true
Size: 459 Bytes
Versions: 2
Compression:
Stored size: 459 Bytes
Contents
# # Author:: Mohit Sethi (<mohit@sethis.in>) # Copyright:: Copyright (c) 2013 Mohit Sethi. # module VagrantPlugins module HP module Action class WarnNetworks def initialize(app, env) @app = app end def call(env) if env[:machine].config.vm.networks.length > 0 env[:ui].warn(I18n.t("vagrant_hp.warn_networks")) end @app.call(env) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vagrant-hp-0.1.2 | lib/vagrant-hp/action/warn_networks.rb |
vagrant-hp-0.1.1 | lib/vagrant-hp/action/warn_networks.rb |