Exception: Mongoid::Lock::UnsynchronizedAccess

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mongoid/lock.rb

Overview


Instance Attribute Summary collapse

Instance Method Summary collapse

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_byObject (readonly)

Returns the value of attribute used_by.



9
10
11
# File 'lib/mongoid/lock.rb', line 9

def used_by
  @used_by
end