Refactor ruby:bob