Sha256: f24fe3f61d106357ab0f350d978bba8add46f46b02f62416a00323cccef428d1

Contents?: true

Size: 206 Bytes

Versions: 1

Compression:

Stored size: 206 Bytes

Contents

module JsonTestData
  class String
    class << self
      def create(schema)
        len = schema.fetch(:maxLength, nil) || schema.fetch(:minLength, nil) || 1
        "a" * len
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
json_test_data-0.1.0 lib/json_test_data/data_structures/string.rb