Sha256: 309fcc905a2979db5ab6dfa3c5f325e538f8d9dd9c4cd53a96108c923751605c
Contents?: true
Size: 365 Bytes
Versions: 6
Compression:
Stored size: 365 Bytes
Contents
module Vagrant module LXC module Action class IsRunning < BaseAction def call(env) env[:result] = env[:machine].state.running? # Call the next if we have one (but we shouldn't, since this # middleware is built to run with the Call-type middlewares) @app.call(env) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems