Sha256: 79461a9e60588f24401f98a06d8cbbd13905ee339dc8ae4fbd72f47fcc98cb91
Contents?: true
Size: 466 Bytes
Versions: 20
Compression:
Stored size: 466 Bytes
Contents
module Scoutui::Commands class Pause < Command def execute(e=nil) rc=true h="" begin if e.is_a?(Hash) && e.has_key?('page') h=e['page']['name'].to_s end puts "====== PAUSE - HIT ENTER #{h} =========" gets() rescue => ex puts "Error during processing: #{$!}" puts "Backtrace:\n\t#{ex.backtrace.join("\n\t")}" rc=false end setResult(rc) end end end
Version data entries
20 entries across 20 versions & 1 rubygems