[Rspec-devel] [PATCH] Adds -I option to spec, error handling on options parse

Daniel Harple dharple at generalconsumption.org
Tue May 9 08:31:49 EDT 2006


This patch adds:

   * ``-I'' option to the command-line parser. ``-I DIR'' adds DIR to  
$LOAD_PATH. Multiple ``-I''s may be specified.
   * Wrapped command-line parsing to catch parsing errors and report  
them instead of having OptionParser spit out a huge stack trace.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rspec-bin-options.patch
Type: application/octet-stream
Size: 1899 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/rspec-devel/attachments/20060509/1d290692/attachment.obj 
-------------- next part --------------

-- Daniel


More information about the Rspec-devel mailing list