def map_args(args, scope, undef_value)
    args.map {|a| convert(a, scope, undef_value) }
  end
def map_args(args, scope, undef_value)
    args.map {|a| convert(a, scope, undef_value) }
  end
Converts 4x supported values to a 3x values.

 @param args [Array] Array of values to convert
 @param scope [Puppet::Parser::Scope] The scope to use when converting
 @param undef_value [Object] The value that nil is converted to
 @return [Array] The converted values