Exception: Hybag::InvalidBaggable
- Inherits:
-
StandardError
- Object
- StandardError
- Hybag::InvalidBaggable
- Defined in:
- lib/hybag.rb
Instance Method Summary collapse
-
#initialize(object) ⇒ InvalidBaggable
constructor
A new instance of InvalidBaggable.
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 |