Method: Mutant::Variable::MVar#modify
- Defined in:
- lib/mutant/variable.rb
#modify ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Modify mvar
262 263 264 265 266 267 |
# File 'lib/mutant/variable.rb', line 262 def modify synchronize do wait_full perform_put(yield(@value)) end end |