Class: RSpec::Rewind::BudgetDecision

Inherits:
Struct
  • Object
show all
Defined in:
lib/rspec/rewind/retry_budget.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



7
8
9
# File 'lib/rspec/rewind/retry_budget.rb', line 7

def allowed
  @allowed
end

#limitObject

Returns the value of attribute limit

Returns:

  • (Object)

    the current value of limit



7
8
9
# File 'lib/rspec/rewind/retry_budget.rb', line 7

def limit
  @limit
end

#remainingObject

Returns the value of attribute remaining

Returns:

  • (Object)

    the current value of remaining



7
8
9
# File 'lib/rspec/rewind/retry_budget.rb', line 7

def remaining
  @remaining
end

#usedObject

Returns the value of attribute used

Returns:

  • (Object)

    the current value of used



7
8
9
# File 'lib/rspec/rewind/retry_budget.rb', line 7

def used
  @used
end

Instance Method Details

#allowed?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/rspec/rewind/retry_budget.rb', line 14

def allowed?
  allowed
end