Adapted from the method used by TextMate, this library provides a command `ruby-hash-syntax-toggle' which attempts to automatically convert the selected region of ruby code between 1.8 and 1.9 hash styles.