Overview
rcodetools is a collection of Ruby code manipulation tools.
It includes xmpfilter and editor-independent Ruby development helper tools,
as well as emacs and vim interfaces.
Currently, rcodetools comprises:
- xmpfilter: automagic Test::Unit assertions/RSpec expectations and code annotations
- rct-complete: 100% accurate method/class/constant etc. completion
- rct-doc: document browsing and code navigator
- rct-meth-args: precise method info (meta-prog. aware) and TAGS generation
Download
rcodetools can be installed with RubyGems:
gem install rcodetools
If you try this shortly after a release and you get an old version/a 404 error, please allow some time until the packages propagate to RubyForge's mirrors.
rcodetools is available in tarball format. rcodetools' executables will run faster when installed this way, since RubyGems add a noticeable overhead. The last tarball is rcodetools-0.4.0.tar.gz
You can also get it from http://eigenclass.org/static/rcodetools if RubyForge is down.
Usage
See this page for more information on xmpfilter and how to use it to generate Test::Unit assertions and RSpec expectations automagically.
The rct-* programs can be used with any editor, but rcodetools includes emacs and vim interfaces (contributions for other editors are welcome); see README.emacs and README.vim in the sources for more information.
Read more...
Read: rcodetools: TDD/BDD++, automagic assertions, 100% accurate completion, doc/code browsing...