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.



18
19
20
# File 'lib/monarchy/exceptions.rb', line 18

def initialize(property)
  @property = property
end

Instance Method Details

#messageObject



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

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