Sha256: 9d47266eb1e257b7ee5c6a2d53d263a4b477d9728aee2a3cbd95d6b93ce74dda

Contents?: true

Size: 311 Bytes

Versions: 2

Compression:

Stored size: 311 Bytes

Contents

require "json_matchers/version"
require "json_matchers/configuration"
require "json_matchers/matcher"
require "json_matchers/errors"

module JsonMatchers
  class << self
    attr_accessor :schema_root
  end

  def self.path_to_schema(schema_name)
    Pathname(schema_root).join("#{schema_name}.json")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
json_matchers-0.9.0 lib/json_matchers.rb
json_matchers-0.8.0 lib/json_matchers.rb