Module: Authlogic::Session::Foundation

Included in:
Base
Defined in:
lib/authlogic/session/foundation.rb

Overview

Sort of like an interface, it sets the foundation for the class, such as the required methods. This also allows other modules to overwrite methods and call super on them. It’s also a place to put “utility” methods used throughout Authlogic.

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



7
8
9
10
11
12
# File 'lib/authlogic/session/foundation.rb', line 7

def self.included(klass)
  klass.class_eval do
    extend Authlogic::Config
    include InstanceMethods
  end
end