Brett Terpstra's logtodayone.rb Refactored