Method: EyeManager.destroy
- Defined in:
- lib/eyemanager.rb
.destroy ⇒ Object
24 25 26 27 28 29 30 |
# File 'lib/eyemanager.rb', line 24 def destroy cmd = "eye q -s" output = `#{cmd}` raise "Eye destroy failed. " + "Command: #{cmd}. Output: #{output}." unless /^Eye quit|socket\(.+\) not found/.match(output) end |