Exception: Mongoid::Lock::UnsynchronizedAccess
- Inherits:
-
StandardError
- Object
- StandardError
- Mongoid::Lock::UnsynchronizedAccess
- Defined in:
- lib/mongoid/lock.rb
Overview
Instance Attribute Summary collapse
-
#used_by ⇒ Object
readonly
Returns the value of attribute used_by.
Instance Method Summary collapse
-
#initialize(used_by, *args) ⇒ UnsynchronizedAccess
constructor
A new instance of UnsynchronizedAccess.
Constructor Details
#initialize(used_by, *args) ⇒ UnsynchronizedAccess
Returns a new instance of UnsynchronizedAccess.
10 11 12 13 |
# File 'lib/mongoid/lock.rb', line 10 def initialize(used_by, *args) @used_by = used_by super(*args) end |
Instance Attribute Details
#used_by ⇒ Object (readonly)
Returns the value of attribute used_by.
9 10 11 |
# File 'lib/mongoid/lock.rb', line 9 def used_by @used_by end |