Class: Ring::SQA::CLI
- Inherits:
-
Object
- Object
- Ring::SQA::CLI
- Defined in:
- lib/ring/sqa/cli.rb
Instance Attribute Summary collapse
-
#opts ⇒ Object
readonly
Returns the value of attribute opts.
Instance Method Summary collapse
Instance Attribute Details
#opts ⇒ Object (readonly)
Returns the value of attribute opts.
8 9 10 |
# File 'lib/ring/sqa/cli.rb', line 8 def opts @opts end |
Instance Method Details
#run ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/ring/sqa/cli.rb', line 10 def run pid = $$ puts "Running as pid: #{pid}" Process.daemon if @opts.daemonize? SQA.new rescue Exception => error crash error raise end |