Class: Kriterion
- Inherits:
-
Object
- Object
- Kriterion
- Defined in:
- lib/kriterion.rb,
lib/kriterion/api.rb,
lib/kriterion/cli.rb,
lib/kriterion/item.rb,
lib/kriterion/event.rb,
lib/kriterion/object.rb,
lib/kriterion/report.rb,
lib/kriterion/worker.rb,
lib/kriterion/backend.rb,
lib/kriterion/cli/api.rb,
lib/kriterion/metrics.rb,
lib/kriterion/section.rb,
lib/kriterion/version.rb,
lib/kriterion/resource.rb,
lib/kriterion/standard.rb,
lib/kriterion/cli/worker.rb,
lib/kriterion/backend/mongodb.rb
Defined Under Namespace
Modules: Logs Classes: API, Backend, CLI, Event, Item, Metrics, Object, Report, Resource, Section, Standard, Worker
Constant Summary collapse
- ROOT =
File.dirname __dir__
- VERSION =
"0.0.1"
Class Method Summary collapse
Class Method Details
.standards(paths) ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/kriterion.rb', line 6 def self.standards(paths) standards = {} paths.each do |path| Dir["#{path}/*.json"].each do |file| standard = JSON.parse(File.read(file)) standards[standard['name']] = standard end end standards end |