Sha256: eb2c227a44a820bbbc762fb674320579179e30f9fa3a521afbb69a95d338d476
Contents?: true
Size: 247 Bytes
Versions: 16
Compression:
Stored size: 247 Bytes
Contents
require 'json-schema/attributes/limit' module JSON class Schema class LengthLimitAttribute < LimitAttribute def self.acceptable_type String end def self.value(data) data.length end end end end
Version data entries
16 entries across 15 versions & 3 rubygems