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