Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo in lib/json-schema/validator.rb at line 270 #8

Closed
rubyconvict opened this issue Apr 21, 2011 · 1 comment
Closed

typo in lib/json-schema/validator.rb at line 270 #8

rubyconvict opened this issue Apr 21, 2011 · 1 comment

Comments

@rubyconvict
Copy link

  def json_backend=(backend)
    backend = backend.to_s
    if @@available_json_backend.include?(backend)
      @@json_backend = backend
    else
      raise JSON::Schema::JsonParseError.new("The JSON backend '#{backend}' could not be found.")
    end
  end

SHOULD BE:
@@available_json_backends

@hoxworth
Copy link
Contributor

Thanks. Added in 971cabb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants