Exception: Cobble::Errors::NoFakeRegistered

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

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ NoFakeRegistered

Raised if Fake has been registered by that name.



6
7
8
# File 'lib/cobble/errors.rb', line 6

def initialize(name) # :nodoc:
  super("No fake has been registered for '#{name}'!")
end