Added ruby-end mode