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