Exception: RobotArmy::Exit
Instance Attribute Summary collapse
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status = 0) ⇒ Exit
constructor
A new instance of Exit.
Constructor Details
#initialize(status = 0) ⇒ Exit
Returns a new instance of Exit.
45 46 47 |
# File 'lib/robot-army.rb', line 45 def initialize(status=0) @status = status end |
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status.
43 44 45 |
# File 'lib/robot-army.rb', line 43 def status @status end |