Sha256: 3f07ec818b6553a80a99b4d092c81154ee77d96e2bc4d61f2f30cb5e941d4507
Contents?: true
Size: 376 Bytes
Versions: 61
Compression:
Stored size: 376 Bytes
Contents
module Vagrant class Action module VM class Suspend def initialize(app, env) @app = app end def call(env) if env["vm"].vm.running? env.ui.info I18n.t("vagrant.actions.vm.suspend.suspending") env["vm"].vm.save_state end @app.call(env) end end end end end
Version data entries
61 entries across 61 versions & 5 rubygems