Sha256: 78dcccdbdf86a9411efab72ea2b84089c165421ea93bc92cd28e2a501fa9c0d5
Contents?: true
Size: 384 Bytes
Versions: 40
Compression:
Stored size: 384 Bytes
Contents
module Vagrant module Action module VM class Suspend def initialize(app, env) @app = app end def call(env) if env[:vm].state == :running env[:ui].info I18n.t("vagrant.actions.vm.suspend.suspending") env[:vm].driver.suspend end @app.call(env) end end end end end
Version data entries
40 entries across 40 versions & 6 rubygems