Sha256: 3568ee641a00ff817a00e32d32520d1428651cfdf6ccb198b444ae411f9edb4e
Contents?: true
Size: 374 Bytes
Versions: 73
Compression:
Stored size: 374 Bytes
Contents
module Evertils module Helper class Results attr_reader :bucket def initialize @bucket = [] @bucket end # Add a result for processing def add(result) @bucket.push(result.to_bool) result.to_bool end def should_eval_to(pass_value) @bucket.all? == pass_value end end end end
Version data entries
73 entries across 73 versions & 1 rubygems