Class: Classifile::AssertChecker::Asserter
- Inherits:
-
Object
- Object
- Classifile::AssertChecker::Asserter
- Includes:
- Minitest::Assertions
- Defined in:
- lib/classifile/checker/assert_checker.rb
Overview
include Minitest:Assertion
Instance Attribute Summary collapse
-
#assertions ⇒ Object
Returns the value of attribute assertions.
-
#failure ⇒ Object
Returns the value of attribute failure.
Instance Method Summary collapse
-
#initialize ⇒ Asserter
constructor
A new instance of Asserter.
Constructor Details
#initialize ⇒ Asserter
Returns a new instance of Asserter.
17 18 19 20 |
# File 'lib/classifile/checker/assert_checker.rb', line 17 def initialize self.assertions = 0 self.failure = nil end |
Instance Attribute Details
#assertions ⇒ Object
Returns the value of attribute assertions.
15 16 17 |
# File 'lib/classifile/checker/assert_checker.rb', line 15 def assertions @assertions end |
#failure ⇒ Object
Returns the value of attribute failure.
15 16 17 |
# File 'lib/classifile/checker/assert_checker.rb', line 15 def failure @failure end |