module Authlogic::Session::Foundation
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.
Public Class Methods
included(klass)
click to toggle source
# File lib/authlogic/session/foundation.rb, line 7 def self.included(klass) klass.class_eval do class_attribute :acts_as_authentic_config self.acts_as_authentic_config ||= {} extend ClassMethods include InstanceMethods end end