Exception: Hybag::InvalidBaggable

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

Instance Method Summary collapse

Constructor Details

#initialize(object) ⇒ InvalidBaggable

Returns a new instance of InvalidBaggable.



41
42
43
# File 'lib/hybag.rb', line 41

def initialize(object)
  super("#{object} requested to be bagged, but it is invalid")
end