Sha256: 66abd6409aa625ae68ecc716752b3d154bf659d3777ec1c0577f5526c80994ea
Contents?: true
Size: 464 Bytes
Versions: 6
Compression:
Stored size: 464 Bytes
Contents
require_relative 'base' module Spectus module RequirementLevel # High requirement level's class. # # @api private # class High < Base # Evaluate the expectation. # # @return [Result::Fail, Result::Pass] Report if the high expectation # pass or fail. def result state = sandbox if state.valid? pass!(state) else fail!(state) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems