Module: Rounders::Plugins::Pluggable

Included in:
Generators::Base, Handlers::Handler, Matchers::Matcher, Stores::Store
Defined in:
lib/rounders/plugins/pluggable.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



6
7
8
9
# File 'lib/rounders/plugins/pluggable.rb', line 6

def included(klass)
  klass.extend ClassMethods
  PluginLoader.register(klass)
end