Module: Authorizable::ControllerMethods

Defined in:
lib/authorizable.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Mixin concept : The ClassMethods defined after are automatically inside the class/module where you are including that module.



10
11
12
# File 'lib/authorizable.rb', line 10

def self.included(base)
  base.extend ClassMethods
end