Exception: Voucher::InvalidSegment
- Inherits:
-
VoucherError
- Object
- StandardError
- VoucherError
- Voucher::InvalidSegment
- Defined in:
- lib/voucher/errors.rb
Instance Method Summary collapse
-
#initialize ⇒ InvalidSegment
constructor
A new instance of InvalidSegment.
Constructor Details
#initialize ⇒ InvalidSegment
Returns a new instance of InvalidSegment.
7 8 9 |
# File 'lib/voucher/errors.rb', line 7 def initialize super('Segment not found in the winning hash') end |