Class: TestRunner::Assert::MissingCheck
- Defined in:
- lib/test_runner/assert/errors.rb
Instance Attribute Summary collapse
-
#check_name ⇒ Object
readonly
Returns the value of attribute check_name.
Instance Method Summary collapse
-
#initialize(check_name) ⇒ MissingCheck
constructor
A new instance of MissingCheck.
- #to_s ⇒ Object
Constructor Details
#initialize(check_name) ⇒ MissingCheck
Returns a new instance of MissingCheck.
31 32 33 |
# File 'lib/test_runner/assert/errors.rb', line 31 def initialize check_name @check_name = check_name end |
Instance Attribute Details
#check_name ⇒ Object (readonly)
Returns the value of attribute check_name.
29 30 31 |
# File 'lib/test_runner/assert/errors.rb', line 29 def check_name @check_name end |
Instance Method Details
#to_s ⇒ Object
35 36 37 |
# File 'lib/test_runner/assert/errors.rb', line 35 def to_s "could not resolve check #{check_name.inspect}" end |