Exception: Ghaki::PluginDisabledError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/ghaki/registry/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#featureObject

Returns the value of attribute feature.



26
27
28
# File 'lib/ghaki/registry/errors.rb', line 26

def feature
  @feature
end

#pluginObject

Returns the value of attribute plugin.



26
27
28
# File 'lib/ghaki/registry/errors.rb', line 26

def plugin
  @plugin
end