def parse_hash(hash)
      hash.each_with_object({}) do |(key, values), new_hash|
        Array(values).each do |value|
          new_hash[Ifdef.parse(value)] = key.to_sym
        end
      end
    end
def parse_hash(hash)
      hash.each_with_object({}) do |(key, values), new_hash|
        Array(values).each do |value|
          new_hash[Ifdef.parse(value)] = key.to_sym
        end
      end
    end
Convert a Hash like:

   { "true" => ["statement1", "statement2"], "false" => "statement3"}

 to a Hash like:

   {
     s(:send, nil, :statement1) => :true,
     s(:send, nil, :statement2) => :true,
     s(:send, nil, :statement3) => :false
   }

 hash - The Hash to convert.

 Returns a new Hash.