Class: Mutex
- Inherits:
-
Object
- Object
- Mutex
- Defined in:
- lib/never_block/frameworks/rails.rb
Overview
now you synchronize
Instance Method Summary collapse
Instance Method Details
#synchronize(&block) ⇒ Object
13 14 15 16 |
# File 'lib/never_block/frameworks/rails.rb', line 13 def synchronize(&block) # now you don't! block.call end |