Sha256: e6db3a2572fcf3d62e694d0a55f895385ebbb55463e196be7cb5334cc8ed7121
Contents?: true
Size: 253 Bytes
Versions: 5
Compression:
Stored size: 253 Bytes
Contents
module Chicanery module Summary def has_failure? self[:servers].map do |name,jobs| jobs.map do |name, state| state[:last_build_status] == :failure end end.flatten.inject(false) {|v,a| v || a} end end end
Version data entries
5 entries across 5 versions & 1 rubygems