Exception: Fixtury::Errors::AlreadyDefinedError

Inherits:
Base
  • Object
show all
Defined in:
lib/fixtury/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ AlreadyDefinedError

Returns a new instance of AlreadyDefinedError.



12
13
14
# File 'lib/fixtury/errors.rb', line 12

def initialize(name)
  super("An element identified by #{name.inspect} already exists.")
end