lib/koine/attributes/adapter/array_of.rb in koine-attributes-1.2.3 vs lib/koine/attributes/adapter/array_of.rb in koine-attributes-1.2.4
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
module Koine
module Attributes
module Adapter
class ArrayOf < Base
def initialize(adapter)
@@ -16,12 +18,12 @@
super(name)
end
private
- def coerce_not_nil(collectionOfValues)
+ def coerce_not_nil(collection_of_values)
secure do
- collectionOfValues.map { |value| @adapter.coerce(value) }
+ collection_of_values.map { |value| @adapter.coerce(value) }
end
end
end
end
end