Exception: DirectInject::Errors::NotConfigured
- Inherits:
-
StandardError
- Object
- StandardError
- DirectInject::Errors::NotConfigured
- Defined in:
- lib/direct_inject/errors/not_configured.rb
Instance Attribute Summary collapse
-
#missing_property ⇒ Object
Returns the value of attribute missing_property.
Instance Method Summary collapse
-
#initialize(missing_property) ⇒ NotConfigured
constructor
A new instance of NotConfigured.
- #message_template ⇒ Object
Constructor Details
#initialize(missing_property) ⇒ NotConfigured
Returns a new instance of NotConfigured.
6 7 8 9 |
# File 'lib/direct_inject/errors/not_configured.rb', line 6 def initialize( missing_property ) self.missing_property = missing_property super % missing_property end |
Instance Attribute Details
#missing_property ⇒ Object
Returns the value of attribute missing_property.
4 5 6 |
# File 'lib/direct_inject/errors/not_configured.rb', line 4 def missing_property @missing_property end |
Instance Method Details
#message_template ⇒ Object
11 12 13 |
# File 'lib/direct_inject/errors/not_configured.rb', line 11 def 'Unable to determine "%s". Please double check your configuration!' end |