Fix typo, minor refactoring
Fix typo, minor refactoring

ruby-rcade/RubyGameDev.com,RailsGEnthusiasts/RubyGameDev.com,PowerCodeGirls/RubyGameDev.com,ruby-rcade/RubyGameDev.com,RailsGEnthusiasts/RubyGameDev.com,PowerCodeGirls/RubyGameDev.com,PowerCodeGirls/RubyGameDev.com,RailsGEnthusiasts/RubyGameDev.com,ruby-rcade/RubyGameDev.com