Module: Meta::JsonSchema::Validators

Defined in:
lib/meta/json_schema/support/validators.rb

Class Method Summary collapse

Class Method Details

.[](key) ⇒ Object



36
37
38
# File 'lib/meta/json_schema/support/validators.rb', line 36

def [](key)
  @validators[key]
end

.[]=(key, validator) ⇒ Object



40
41
42
# File 'lib/meta/json_schema/support/validators.rb', line 40

def []=(key, validator)
  @validators[key] = validator
end

.delete(key) ⇒ Object



44
45
46
# File 'lib/meta/json_schema/support/validators.rb', line 44

def delete(key)
  @validators.delete(key)
end

.keysObject



48
49
50
# File 'lib/meta/json_schema/support/validators.rb', line 48

def keys
  @validators.keys
end