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.



23
24
25
# File 'lib/hybag.rb', line 23

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