Class: ConvenientService::Examples::Standard::Factorial::Utils::Timeout::WithTimeout::ReturnStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/convenient_service/examples/standard/factorial/utils/timeout/with_timeout.rb

Instance Attribute Summary collapse

Instance Attribute Details

#timeout?Object

Returns the value of attribute timeout?

Returns:

  • (Object)

    the current value of timeout?



10
11
12
# File 'lib/convenient_service/examples/standard/factorial/utils/timeout/with_timeout.rb', line 10

def timeout?
  @timeout?
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



10
11
12
# File 'lib/convenient_service/examples/standard/factorial/utils/timeout/with_timeout.rb', line 10

def value
  @value
end