Typecasting boolean values in Ruby | Hacker News Reader