Method: Timeouter::Timer#running!
- Defined in:
- lib/timeouter/timer.rb
#running!(eclass = @eclass, message: @message) ⇒ Object
ensure timeout NOT exhausted raise exception otherwise
40 41 42 |
# File 'lib/timeouter/timer.rb', line 40 def running!(eclass = @eclass, message: ) !exhausted? || (raise eclass.new()) end |