Exception: Immutable::EmptyError

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

Instance Method Summary (collapse)

Constructor Details

- (EmptyError) initialize(msg = "collection is empty")



5
6
7
# File 'lib/immutable/headable.rb', line 5

def initialize(msg = "collection is empty")
  super(msg)
end