Explicitly calling ruby-electric mode to add the end block and removed specialized code that did that. Added an alias because the built in ruby-inf has the keys changed around