Rework Hackbright exercise in Ruby.