h= Hash[*['test','testValue']] => {"test"=>"testValue"} # ruby 2.1.0+ [[1,2],[2,3]].to_h => {1=>2, 2=>3}