https://github.com/technomancy/zossima
git clone 'git://github.com/technomancy/zossima'
Jump to definition in Emacs, driven by a live Ruby subprocess.
This builds on inf-ruby
to handle Ruby subprocesses from Emacs. Once
you've loaded your inf-ruby process with the code for your project and
its dependencies Ruby keeps track of where each method is defined, so
you can use M-. to jump to the definition of a given method
and M-, to jump back.
It prompts you with a list of all known classes and modules, and once you've chosen one, narrows down to a list of methods.
Currently you should just check it out and add this to your emacs config:
(add-to-list 'load-path "/path/to/zossima-checkout")
(autoload 'zossima-mode "zossima" "" t)
(add-hook 'ruby-mode-hook 'zossima-mode)
Copyright © 2012 Phil Hagelberg Copyright © 2012 Dmitry Gutov
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with GNU Emacs; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.