Exception: CmdStop

Inherits:
Exception
  • Object
show all
Defined in:
bin/scout

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(exit_status = 0) ⇒ CmdStop

Returns a new instance of CmdStop.



11
12
13
# File 'bin/scout', line 11

def initialize(exit_status = 0)
  @exit_status = exit_status
end

Instance Attribute Details

#exit_statusObject

Returns the value of attribute exit_status.



10
11
12
# File 'bin/scout', line 10

def exit_status
  @exit_status
end