Module: Pluggable::ClassMethods

Defined in:
lib/pluggable.rb

Instance Method Summary collapse

Instance Method Details

#delegate_plugin_public_methods_except(*excluded_methods) ⇒ Object



68
69
70
# File 'lib/pluggable.rb', line 68

def delegate_plugin_public_methods_except *excluded_methods
  PluginFactory.instance.delegate_plugin_public_methods_to_plugins_class_except *excluded_methods
end

#plugin_factoryObject



65
66
67
# File 'lib/pluggable.rb', line 65

def plugin_factory
  PluginFactory.instance
end

#plugin_include_module(mod) ⇒ Object



71
72
73
# File 'lib/pluggable.rb', line 71

def plugin_include_module mod
  Plugin.class_eval "include #{mod.to_s}"
end