Module: Spreewald::WithoutWaiting
- Included in:
- FieldErrorFinder
- Defined in:
- lib/spreewald_support/without_waiting.rb
Instance Method Summary collapse
Instance Method Details
#without_waiting ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/spreewald_support/without_waiting.rb', line 5 def without_waiting prior_max_wait_time = .default_max_wait_time .default_max_wait_time = 0 yield ensure .default_max_wait_time = prior_max_wait_time end |