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