Exception: Immutable::EmptyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/immutable/headable.rb

Instance Method Summary collapse

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