Sha256: ec66ca48b049a309eb9043eeca36b60feff61020e275b26dc6ed1aceb54f8bab
Contents?: true
Size: 423 Bytes
Versions: 26
Compression:
Stored size: 423 Bytes
Contents
module Veewee module Provider module Vmfusion module BoxCommand def destroy(options={}) unless raw.exists? raise Veewee::Error, "Error:: You tried to destroy a non-existing box '#{name}'" end raw.halt if raw.state=="running" ::Fission::VM.new(name).delete # remove it from memory @raw=nil end end end end end
Version data entries
26 entries across 26 versions & 2 rubygems