Module: Authlogic::Session::Existence

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

Overview

Provides methods to create and destroy objects. Basically controls their “existence”.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: SessionInvalidError

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object


11
12
13
14
15
16
17
# File 'lib/authlogic/session/existence.rb', line 11

def self.included(klass)
  klass.class_eval do
    extend ClassMethods
    include InstanceMethods
    attr_accessor :new_session, :record
  end
end