brandur / json_schema

A JSON Schema V4 and Hyperschema V4 parser and validator.
MIT License
230 stars 45 forks source link

Set schema instance variables to nil on initialization #76

Closed brandur closed 7 years ago

brandur commented 7 years ago

nil out all our schema fields so that it's possible to instantiate a schema instance without going through the parser and validate against it without Ruby throwing warnings about uninitialized instance variables.