Exception: Blueprints::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Blueprints::Error
- Defined in:
- lib/blueprints/errors.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(blueprint) ⇒ Error
constructor
A new instance of Error.
- #to_s ⇒ Object
Constructor Details
#initialize(blueprint) ⇒ Error
Returns a new instance of Error.
3 4 5 |
# File 'lib/blueprints/errors.rb', line 3 def initialize(blueprint) @name = blueprint end |
Instance Method Details
#to_s ⇒ Object
7 8 9 |
# File 'lib/blueprints/errors.rb', line 7 def to_s "Blueprint '#{@name}' #{}" end |