Class: Spectus::RequirementLevel::High
- Inherits:
-
Spectus::Requirement
- Object
- Spectus::Requirement
- Spectus::RequirementLevel::High
- Defined in:
- lib/spectus/requirement_level/high.rb
Overview
High requirement level.
Instance Method Summary collapse
-
#pass?(&actual) ⇒ Boolean
Evaluate the expectation with the passed block.
Methods inherited from Spectus::Requirement
Constructor Details
This class inherits a constructor from Spectus::Requirement
Instance Method Details
#pass?(&actual) ⇒ Boolean
Evaluate the expectation with the passed block.
11 12 13 |
# File 'lib/spectus/requirement_level/high.rb', line 11 def pass?(&actual) sandbox(&actual).pass?(@negate) end |