From: Robert Klemme Date: 2012-07-10T00:23:42+09:00 Subject: Re: Troubled while trying to create list from hash On Sun, Jul 8, 2012 at 5:16 PM, Brian Candler wrote: > However, because your block ends with a "p" statement, which always > returns nil, this will be treated as false always. That statement is true only for 1.8.*. Brian, your quarrel with encoding in 1.9.* prevents you from giving correct answers nowadays when most people seem to use 1.9.* versions: $ irb19 Ruby version 1.9.3 irb(main):001:0> p 123 123 => 123 Otherwise I totally agree with your reply. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/