Class: Predicate::Asserter
- Inherits:
-
Object
- Object
- Predicate::Asserter
- Includes:
- Minitest::Assertions
- Defined in:
- lib/predicate/asserter.rb
Instance Attribute Summary collapse
-
#assertions ⇒ Object
Returns the value of attribute assertions.
Instance Method Summary collapse
-
#initialize ⇒ Asserter
constructor
A new instance of Asserter.
Constructor Details
#initialize ⇒ Asserter
Returns a new instance of Asserter.
6 7 8 |
# File 'lib/predicate/asserter.rb', line 6 def initialize @assertions = 0 end |
Instance Attribute Details
#assertions ⇒ Object
Returns the value of attribute assertions.
9 10 11 |
# File 'lib/predicate/asserter.rb', line 9 def assertions @assertions end |