Sha256: 59c82b12738a99cf63e7da5e7adf6c24a3398c4d16fb18ba04a22dbaa99cf50b
Contents?: true
Size: 295 Bytes
Versions: 11
Compression:
Stored size: 295 Bytes
Contents
module Marty::Diagnostic; class Collection < Base class_attribute :diagnostics self.diagnostics = [] self.status_only = true def self.generate raise 'No diagnostics assigned to collection.' if diagnostics.empty? diagnostics.map{|d| d.generate}.reduce(:deep_merge) end end end
Version data entries
11 entries across 11 versions & 1 rubygems