Exception: Yabeda::AlreadyConfiguredError
- Inherits:
-
StandardError
- Object
- StandardError
- Yabeda::AlreadyConfiguredError
- Defined in:
- lib/yabeda/errors.rb
Overview
Raises on repeated call to Yabeda.configure!
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(configuring_location) ⇒ AlreadyConfiguredError
constructor
A new instance of AlreadyConfiguredError.
Constructor Details
#initialize(configuring_location) ⇒ AlreadyConfiguredError
Returns a new instance of AlreadyConfiguredError.
8 9 10 11 |
# File 'lib/yabeda/errors.rb', line 8 def initialize(configuring_location) super @message = "Yabeda was already configured in #{configuring_location}" end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
13 14 15 |
# File 'lib/yabeda/errors.rb', line 13 def @message end |