Added function to insert an underscore when pressing the space key while
in ruby mode creating a method definition.