class Kriterion

Constants

ROOT
VERSION

Public Class Methods

standards(paths) click to toggle source
# 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