public
Description: Ruby version of Python's doctest tool, but a bit different
Home | Edit | New

TextMate Bundle

Get the bundle with Git

$ cd ~/Library/Application\ Support/TextMate
$ cd Bundles || (mkdir Bundles && cd Bundles)
$ git clone git://github.com/drnic/ruby-doctest-tmbundle.git Ruby\ DocTest.tmbundle

Reload TextMate Bundles

  • Restart TextMate, OR
  • Choose Bundles → Bundle Editor → Reload Bundles from the menu

Enjoy Syntax Highlighting and “Run DocTests” Command

  • Use “command-shift-R” to run doctests in the current file
  • You’ll see syntax highlighting like this:

Last edited by canadaduane, Tue Jun 24 09:40:42 -0700 2008
Home | Edit | New
Versions: