Exception: Ghaki::FeatureNotFoundError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Ghaki::FeatureNotFoundError
- Defined in:
- lib/ghaki/registry/errors.rb
Overview
Instance Attribute Summary collapse
-
#feature ⇒ Object
Returns the value of attribute feature.
Instance Method Summary collapse
-
#initialize(_feature, msg = nil) ⇒ FeatureNotFoundError
constructor
A new instance of FeatureNotFoundError.
Constructor Details
#initialize(_feature, msg = nil) ⇒ FeatureNotFoundError
Returns a new instance of FeatureNotFoundError.
17 18 19 20 21 |
# File 'lib/ghaki/registry/errors.rb', line 17 def initialize _feature, msg=nil @feature = _feature msg ||= 'Feature Not Registered: ' + @feature.to_s super(msg) end |
Instance Attribute Details
#feature ⇒ Object
Returns the value of attribute feature.
16 17 18 |
# File 'lib/ghaki/registry/errors.rb', line 16 def feature @feature end |