lib/acfs/resource/attributes/list.rb in acfs-0.46.0 vs lib/acfs/resource/attributes/list.rb in acfs-0.47.0

- old
+ new

@@ -16,10 +16,10 @@ # @param [Object] value Object to cast. # @return [Fixnum] Casted object as list. # @raise [TypeError] If object cannot be casted to a list. # def cast_value(value) - return nil if value.blank? + return [] if value.blank? if value.is_a?(::Array) value elsif value.respond_to?(:to_ary) value.to_ary