Exception: Monarchy::Exceptions::ConfigNotDefined

Inherits:
Error
  • Object
show all
Defined in:
lib/monarchy/exceptions.rb

Instance Method Summary collapse

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

#messageObject



21
22
23
# File 'lib/monarchy/exceptions.rb', line 21

def message
  "Monarchy requires a #{@property} to be configured!"
end