Method: MonitorVariable#reject_value
- Defined in:
- lib/buzzcore/extra/thread_utils.rb
#reject_value ⇒ Object
307 308 309 310 311 312 313 314 315 |
# File 'lib/buzzcore/extra/thread_utils.rb', line 307 def reject_value @monitor.synchronize do if !empty? clear else @reject_next = true end end end |