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

Inherits:
Struct
  • Object
show all
Defined in:
lib/convenient_service/examples/standard/v1/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?



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

def timeout?
  @timeout?
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



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

def value
  @value
end