nonsequitur/inf-ruby — pull request #15 by dgutov (2012-12-15 03:09:50+00:00)
Title: Use ruby-backward-sexp

ruby-mode doesn't customize forward-sexp-function, but it does have its own forward/backward-sexp commands.

With this change, you can put point after a class definition or after the end of a do/end block, press `C-x C-e`, and it will send the whole definition or block to the repl.