Sha256: ecb7a6c1c8d5559f18fa4d9f9babbb2fa55baca0730dc136da64265d0a3d35cb
Contents?: true
Size: 494 Bytes
Versions: 7
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
7 entries across 7 versions & 1 rubygems