Sha256: 5e51b735bbfc1a5c1bab6d0259ac4e25be350afc1bf6b4920a3c2405faa71394
Contents?: true
Size: 382 Bytes
Versions: 96
Compression:
Stored size: 382 Bytes
Contents
require 'puppet/provider/confine' class Puppet::Provider::Confine::False < Puppet::Provider::Confine def self.summarize(confines) confines.inject(0) { |count, confine| count + confine.summary } end def pass?(value) ! value end def message(value) "true value when expecting false" end def summary result.find_all { |v| v == false }.length end end
Version data entries
96 entries across 96 versions & 4 rubygems