Coerce Hash values
Extracts the given args from a Hash
If a value does not exist, it uses the value of Time.now
@param [Hash] value
@return [Array]
@api private
# File lib/coercible/coercer/hash.rb, line 60 def extract(value) now = ::Time.now TIME_SEGMENTS.map do |segment| val = value.fetch(segment, now.public_send(segment)) coercers[val.class].to_integer(val) end end