Exception: Leftovers::Exit

Inherits:
StandardError
  • Object
show all
Defined in:
lib/leftovers.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#statusObject (readonly)

Returns the value of attribute status.



5
6
7
# File 'lib/leftovers.rb', line 5

def status
  @status
end