Exception: Fabrication::DuplicateFabricatorError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/fabrication/errors/duplicate_fabricator_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(string) ⇒ DuplicateFabricatorError

Returns a new instance of DuplicateFabricatorError.



3
4
5
# File 'lib/fabrication/errors/duplicate_fabricator_error.rb', line 3

def initialize(string)
  super("'#{string}' is already defined")
end