Sha256: 8c10afbc8f405eaba4a87ba5b15485e543bee463e75889c5874e43c65def91f7
Contents?: true
Size: 357 Bytes
Versions: 2
Compression:
Stored size: 357 Bytes
Contents
module Mercy class ReportBuilder def build(key, parameters = {}) config = config_for(key) config.build(parameters) end def add_config(key, config) configs[key] = Mercy::ReportConfig.new(config) end private def config_for(key) configs[key] end def configs @configs ||= {} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mercy-1.6.0 | lib/mercy/report_builder.rb |
mercy-1.5.0 | lib/mercy/report_builder.rb |