Module: Authlogic::Session::Scopes::InstanceMethods
- Defined in:
- lib/novelys_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.
77 78 79 80 |
# File 'lib/novelys_authlogic/session/scopes.rb', line 77 def initialize(*args) self.scope = self.class.scope super end |
#scope ⇒ Object
The scope of the current object
83 84 85 |
# File 'lib/novelys_authlogic/session/scopes.rb', line 83 def scope @scope ||= {} end |