Exception: Guise::DuplicateDefinition
- Inherits:
-
StandardError
- Object
- StandardError
- Guise::DuplicateDefinition
- Defined in:
- lib/guise/errors.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ DuplicateDefinition
constructor
A new instance of DuplicateDefinition.
- #message ⇒ Object
Constructor Details
#initialize(name) ⇒ DuplicateDefinition
Returns a new instance of DuplicateDefinition.
13 14 15 |
# File 'lib/guise/errors.rb', line 13 def initialize(name) @name = name end |
Instance Method Details
#message ⇒ Object
17 18 19 |
# File 'lib/guise/errors.rb', line 17 def "guise definition for #{@name.inspect} already exists" end |