Exception: Ghaki::PluginDisabledError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Ghaki::PluginDisabledError
- Defined in:
- lib/ghaki/registry/errors.rb
Instance Attribute Summary collapse
-
#feature ⇒ Object
Returns the value of attribute feature.
-
#plugin ⇒ Object
Returns the value of attribute plugin.
Instance Method Summary collapse
-
#initialize(_feature, _plugin, msg = nil) ⇒ PluginDisabledError
constructor
A new instance of PluginDisabledError.
Constructor Details
#initialize(_feature, _plugin, msg = nil) ⇒ PluginDisabledError
Returns a new instance of PluginDisabledError.
27 28 29 30 31 32 |
# File 'lib/ghaki/registry/errors.rb', line 27 def initialize _feature, _plugin, msg=nil @feature = _feature @plugin = _plugin msg ||= 'Plugin Disabled: ' + @plugin.to_s super(msg) end |
Instance Attribute Details
#feature ⇒ Object
Returns the value of attribute feature.
26 27 28 |
# File 'lib/ghaki/registry/errors.rb', line 26 def feature @feature end |
#plugin ⇒ Object
Returns the value of attribute plugin.
26 27 28 |
# File 'lib/ghaki/registry/errors.rb', line 26 def plugin @plugin end |