Exception: RubyCheck::PropertyFailure

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rubycheck.rb

Overview

Used by for_all to detect property failures.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(test) ⇒ PropertyFailure

Returns a new instance of PropertyFailure.



51
52
53
# File 'lib/rubycheck.rb', line 51

def initialize(test)
  @test_case = test
end

Instance Attribute Details

#test_caseObject

Returns the value of attribute test_case.



48
49
50
# File 'lib/rubycheck.rb', line 48

def test_case
  @test_case
end