Sha256: d9a88a7d10b522d7abba69668762cd3aeb79c52c10ef4a2e5812a24e938c99af

Contents?: true

Size: 371 Bytes

Versions: 6

Compression:

Stored size: 371 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

  self.schema_root = "#{Dir.pwd}/spec/support/api/schemas"

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
json_matchers-0.7.3 lib/json_matchers.rb
json_matchers-0.7.2 lib/json_matchers.rb
json_matchers-0.7.1 lib/json_matchers.rb
json_matchers-0.7.0 lib/json_matchers.rb
json_matchers-0.6.3 lib/json_matchers.rb
json_matchers-0.6.2 lib/json_matchers.rb