Class: JSON::Schema::MultipleOfAttribute

Inherits:
DivisibleByAttribute show all
Defined in:
lib/json-schema/attributes/multipleof.rb

Constant Summary

Constants inherited from Attribute

Attribute::TYPE_CLASS_MAPPINGS

Class Method Summary collapse

Methods inherited from DivisibleByAttribute

validate

Methods inherited from Attribute

build_fragment, data_valid_for_type?, type_of_data, validate, validation_error, validation_errors

Class Method Details

.keywordObject



6
7
8
# File 'lib/json-schema/attributes/multipleof.rb', line 6

def self.keyword
  'multipleOf'
end