vendor/plugins/authlogic/lib/authlogic/session/klass.rb
# Same as klass, just returns a string instead of the actual constant.
Same as klass, just returns a string instead of the actual constant.
Same as klass just returns a string instead of the actual constant .
def klass_name
          @klass_name ||= 
            if guessed_name = name.scan(/(.*)Session/)[0]
              @klass_name = guessed_name[0]
            end
        end
def klass_name @klass_name ||= if guessed_name = name . scan ( / (.*)Session / ) [ 0 ] @klass_name = guessed_name [ 0 ] end end
Same as klass, just returns a string instead of the actual constant.
Same as klass just returns a string instead of the actual constant .