Exception: Monarchy::Exceptions::ConfigNotDefined
- Defined in:
- lib/monarchy/exceptions.rb
Instance Method Summary collapse
-
#initialize(property) ⇒ ConfigNotDefined
constructor
A new instance of ConfigNotDefined.
- #message ⇒ Object
Constructor Details
#initialize(property) ⇒ ConfigNotDefined
Returns a new instance of ConfigNotDefined.
17 18 19 |
# File 'lib/monarchy/exceptions.rb', line 17 def initialize(property) @property = property end |
Instance Method Details
#message ⇒ Object
21 22 23 |
# File 'lib/monarchy/exceptions.rb', line 21 def "Monarchy requires a #{@property} to be configured!" end |