Class: Enumpath::RegexpTimeout::State

Inherits:
Struct
  • Object
show all
Defined in:
lib/enumpath/regexp_timeout.rb

Overview

The limit for one Enumpath.apply call, and whether it has run out

Instance Attribute Summary collapse

Instance Attribute Details

#expired ⇒ Object

Returns the value of attribute expired

Returns:

  • (Object) —

    the current value of expired



26
27
28
# File 'lib/enumpath/regexp_timeout.rb', line 26

def expired
  @expired
end

#seconds ⇒ Object

Returns the value of attribute seconds

Returns:

  • (Object) —

    the current value of seconds



26
27
28
# File 'lib/enumpath/regexp_timeout.rb', line 26

def seconds
  @seconds
end