Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Improved ruby-electric mode

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 ruby-electric.el
README.md

Ruby Electric

Ruby Electric is a minor mode that makes writing and editing Ruby code easier.

Improvements

  • handling of strings of type 'here document'
  • more keywords, with special handling for do
  • packaged into a minor mode
  • inserting matching pair delimiters like {, [, (, ', ", ' and |
  • added basic custom support for configuring keywords with electric closing and characters for which matching expansion should occur

Usage

  1. Add MELPA repository to your package archives.
  2. Install package ruby-electric using M-x package-install.
  3. Toggle Ruby Electric on using M-x ruby-electric-mode.

Credits

This work was inspired by a code snippet posted by Frederick Ros.

License

This code is licensed to you under the terms of the GNU General Public License version 2. See LICENSE for details.

Something went wrong with that request. Please try again.