Module: Vedeu::Repositories::Registerable

Included in:
Repository
Defined in:
lib/vedeu/repositories/registerable.rb

Overview

Repositories contain registerables, this module provides convenience methods for them.

Defined Under Namespace

Modules: InstanceMethods, SingletonMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Class

Provide additional behaviour to a class or module.

Parameters:

  • klass (Class)

Returns:

  • (Class)

    Returns the klass parameter.



88
89
90
91
# File 'lib/vedeu/repositories/registerable.rb', line 88

def self.included(klass)
  klass.extend(Vedeu::Repositories::Registerable::SingletonMethods)
  klass.include(Vedeu::Repositories::Registerable::InstanceMethods)
end