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.
18 19 20 |
# File 'lib/monarchy/exceptions.rb', line 18 def initialize(property) @property = property end |
Instance Method Details
#message ⇒ Object
22 23 24 |
# File 'lib/monarchy/exceptions.rb', line 22 def "Monarchy requires a #{@property} to be configured!" end |