Class: Regexp
- Inherits:
-
Object
- Object
- Regexp
- Defined in:
- lib/canopus/regexp_compat.rb
Constant Summary collapse
- TimeoutError =
Class.new(RegexpError)
- TIMEOUTS =
ObjectSpace::WeakMap.new
Instance Method Summary collapse
Instance Method Details
#timeout ⇒ Object
10 |
# File 'lib/canopus/regexp_compat.rb', line 10 def timeout = TIMEOUTS[self] |