Add Ruby electric indent function