Module: JsonMatchers

Defined in:
lib/json_matchers.rb,
lib/json_matchers/rspec.rb,
lib/json_matchers/errors.rb,
lib/json_matchers/matcher.rb,
lib/json_matchers/version.rb

Defined Under Namespace

Classes: Matcher, RSpec

Constant Summary collapse

InvalidSchemaError =
Class.new(StandardError)
MissingSchema =
Class.new(Errno::ENOENT)
VERSION =
"0.3.1"

Class Method Summary collapse

Class Method Details

.path_to_schema(schema_name) ⇒ Object



11
12
13
# File 'lib/json_matchers.rb', line 11

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