Exception: Immutable::EmptyError
- Inherits:
-
StandardError
- Object
- StandardError
- Immutable::EmptyError
- Defined in:
- lib/immutable/headable.rb
Instance Method Summary (collapse)
-
- (EmptyError) initialize(msg = "collection is empty")
constructor
A new instance of EmptyError.
Constructor Details
- (EmptyError) initialize(msg = "collection is empty")
A new instance of EmptyError
5 6 7 |
# File 'lib/immutable/headable.rb', line 5 def initialize(msg = "collection is empty") super(msg) end |