module Ethon::Easy::Queryable

def pairs_for(v, key, pairs)

def pairs_for(v, key, pairs)
  case v
  when Hash, Array
    recursively_generate_pairs(v, key, pairs)
  when File, Tempfile
    pairs << [key, file_info(v)]
  else
    pairs << [key, v]
  end
end