Method: JSON::Schema::HyperDraft4#initialize
- Defined in:
- lib/json-schema/validators/hyper-draft4.rb
#initialize ⇒ HyperDraft4
Returns a new instance of HyperDraft4.
5 6 7 8 |
# File 'lib/json-schema/validators/hyper-draft4.rb', line 5 def initialize super @uri = JSON::Util::URI.parse("http://json-schema.org/draft-04/hyper-schema#") end |