Add ruby-insert-end fn for ruby-electric.

After upgrade ruby-mode, it seem lost ruby-insert-end function.