Class: RSpec::Rewind::RetryGateDecision

Inherits:
Struct
  • Object
show all
Defined in:
lib/rspec/rewind/retry_gate.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_gate.rb', line 5

def allowed
  @allowed
end

#budget_decisionObject

Returns the value of attribute budget_decision

Returns:

  • (Object)

    the current value of budget_decision



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

def budget_decision
  @budget_decision
end

#policy_decisionObject

Returns the value of attribute policy_decision

Returns:

  • (Object)

    the current value of policy_decision



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

def policy_decision
  @policy_decision
end

#reasonObject

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



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

def reason
  @reason
end

Instance Method Details

#allowed?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/rspec/rewind/retry_gate.rb', line 12

def allowed?
  allowed
end