Exception: Guise::DefinitionNotFound

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

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ DefinitionNotFound

Returns a new instance of DefinitionNotFound.



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

def initialize(name)
  @name = name
end

Instance Method Details

#messageObject



7
8
9
# File 'lib/guise/errors.rb', line 7

def message
  "no guises defined for #{@name.inspect}"
end