Sha256: a800d5487360d418beb2299c5a2a6ef066e03091a86aa45fe4a76536ca2bf140
Contents?: true
Size: 420 Bytes
Versions: 25
Compression:
Stored size: 420 Bytes
Contents
module VagrantPlugins module Parallels module Action class Suspend def initialize(app, env) @app = app end def call(env) if env[:machine].state.id == :running env[:ui].info I18n.t("vagrant.actions.vm.suspend.suspending") env[:machine].provider.driver.suspend end @app.call(env) end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems