Add ruby refactor mode.