Ruby refactoring tool