Class: Classifile::AssertChecker::Asserter

Inherits:
Object
  • Object
show all
Includes:
Minitest::Assertions
Defined in:
lib/classifile/checker/assert_checker.rb

Overview

include Minitest:Assertion

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAsserter

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

#assertionsObject

Returns the value of attribute assertions.



15
16
17
# File 'lib/classifile/checker/assert_checker.rb', line 15

def assertions
  @assertions
end

#failureObject

Returns the value of attribute failure.



15
16
17
# File 'lib/classifile/checker/assert_checker.rb', line 15

def failure
  @failure
end