lib/custom_facts/util/normalization.rb in facter-4.0.20 vs lib/custom_facts/util/normalization.rb in facter-4.0.21
- old
+ new
@@ -14,10 +14,10 @@
# @api public
# @raise [NormalizationError] If the data structure contained an invalid element.
# @return [void]
def normalize(value)
case value
- when Integer, Float, TrueClass, FalseClass, NilClass, Symbol
+ when Integer, Float, TrueClass, FalseClass, NilClass, Symbol, Date
value
when String
normalize_string(value)
when Array
normalize_array(value)