Module: ThreadifyProcs
- Defined in:
- lib/threadify_procs.rb,
lib/threadify_procs/version.rb
Constant Summary collapse
- VERSION =
"0.0.2"
Instance Method Summary collapse
Instance Method Details
#call_with_threads(procs, options = {}) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/threadify_procs.rb', line 5 def call_with_threads procs, ={} set_procs procs return if procs.blank? with_writer_thread do launch_procs end end |