Module: Authlogic::Session::Scopes::InstanceMethods
- Defined in:
- lib/authlogic/session/scopes.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ Object
Setting the scope if it exists upon instantiation.
-
#scope ⇒ Object
The scope of the current object.
Instance Method Details
#initialize(*args) ⇒ Object
Setting the scope if it exists upon instantiation.
89 90 91 92 |
# File 'lib/authlogic/session/scopes.rb', line 89 def initialize(*args) self.scope = self.class.scope super end |
#scope ⇒ Object
The scope of the current object
95 96 97 |
# File 'lib/authlogic/session/scopes.rb', line 95 def scope @scope ||= {} end |