Exception: Leftovers::Exit
- Inherits:
-
StandardError
- Object
- StandardError
- Leftovers::Exit
- Defined in:
- lib/leftovers.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status) ⇒ Exit
constructor
rubocop:disable Lint/MissingSuper.
Constructor Details
#initialize(status) ⇒ Exit
rubocop:disable Lint/MissingSuper
7 8 9 |
# File 'lib/leftovers.rb', line 7 def initialize(status) # rubocop:disable Lint/MissingSuper @status = status end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
5 6 7 |
# File 'lib/leftovers.rb', line 5 def status @status end |