Module: Vedeu::Controller

Included in:
ApplicationController
Defined in:
lib/vedeu/application/controller.rb

Overview

Provides methods to be used by ApplicationController.

Defined Under Namespace

Modules: 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.



78
79
80
# File 'lib/vedeu/application/controller.rb', line 78

def self.included(klass)
  klass.extend(Vedeu::Controller::SingletonMethods)
end