Module: ConservationGuardian
- Defined in:
- lib/conservation_guardian.rb,
lib/conservation_guardian/budget.rb,
lib/conservation_guardian/report.rb,
lib/conservation_guardian/detector.rb,
lib/conservation_guardian/profiler.rb
Defined Under Namespace
Classes: Budget, Detector, Error, Profiler, Report
Class Method Summary collapse
-
.analyze(budget:, samples:) ⇒ Object
Convenience: run the full pipeline and return a Report.
Class Method Details
.analyze(budget:, samples:) ⇒ Object
Convenience: run the full pipeline and return a Report
12 13 14 15 16 17 18 |
# File 'lib/conservation_guardian.rb', line 12 def self.analyze(budget:, samples:) profiler = Profiler.new(budget) profiler.ingest(samples) detector = Detector.new(budget, profiler) findings = detector.detect Report.new(budget, profiler, findings) end |