module Koine module Attributes module Adapter class ArrayOf < Base def initialize(adapter) @adapter = adapter with_default_value([]) end def for_values @adapter end private def coerce_not_nil(collectionOfValues) secure do collectionOfValues.map { |value| @adapter.coerce(value) } end end end end end end