add type for ruby-mode