Sha256: e9347a39bb20ad738e81a09eaae7fd3e63ae63c72b70075f76004758ec391888
Contents?: true
Size: 394 Bytes
Versions: 3
Compression:
Stored size: 394 Bytes
Contents
module Koine module Attributes module Adapter class ArrayOf < Base def initialize(adapter) @adapter = adapter with_default_value([]) end private def coerce_not_nil(collectionOfValues) secure do collectionOfValues.map { |value| @adapter.coerce(value) } end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems