Fixed by following Ruby style guidelines