Class: RSpec::Rewind::RetryDecisionResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/rspec/rewind/retry_decision.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#allowedObject

Returns the value of attribute allowed

Returns:

  • (Object)

    the current value of allowed



5
6
7
# File 'lib/rspec/rewind/retry_decision.rb', line 5

def allowed
  @allowed
end

#matched_retry_onObject

Returns the value of attribute matched_retry_on

Returns:

  • (Object)

    the current value of matched_retry_on



5
6
7
# File 'lib/rspec/rewind/retry_decision.rb', line 5

def matched_retry_on
  @matched_retry_on
end

#matched_skip_retry_onObject

Returns the value of attribute matched_skip_retry_on

Returns:

  • (Object)

    the current value of matched_skip_retry_on



5
6
7
# File 'lib/rspec/rewind/retry_decision.rb', line 5

def matched_skip_retry_on
  @matched_skip_retry_on
end

#matcher_errorObject

Returns the value of attribute matcher_error

Returns:

  • (Object)

    the current value of matcher_error



5
6
7
# File 'lib/rspec/rewind/retry_decision.rb', line 5

def matcher_error
  @matcher_error
end

#reasonObject

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



5
6
7
# File 'lib/rspec/rewind/retry_decision.rb', line 5

def reason
  @reason
end

Instance Method Details

#allowed?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/rspec/rewind/retry_decision.rb', line 13

def allowed?
  allowed
end