yermej wrote: > On Jan 9, 3:31pm, Holden Holden <pyar... / gmail.com> wrote: >> >> return)? > These would only work in one specific case. What would this do? > > [1, 2, 3].to_h That's why I prefer [key, value] pairs, to avoid any ambiguity. However, a theorical [1,2,3].to_h should give the same error than Hash[*array] gives: irb(main):002:0> Hash[*[1,2,3]] ArgumentError: odd number of arguments for Hash -- Posted via http://www.ruby-forum.com/.