Module: Authlogic::Session::Activation::InstanceMethods

Defined in:
lib/authlogic/session/activation.rb

Instance Method Summary collapse

Instance Method Details

#initialize(*args) ⇒ Object

Making sure we are activated before we start creating objects

Raises:



46
47
48
49
# File 'lib/authlogic/session/activation.rb', line 46

def initialize(*args)
  raise NotActivatedError.new(self) unless self.class.activated?
  super
end