From: mortee Date: 2007-10-15T23:12:19+09:00 Subject: Re: Ruby gem, library, class to implement typical functionality of a utility like cp? Randy Kramer wrote: > In other words, if I found such a utility written in Ruby, I'd think about > leaving the "framework" that processes the command line parameters (like > --help (-h), --force (-f), --interactive (-i), --backup and stripping out the > code that performs the function of that utility, substituting the > functionality I need. (And changing the actions for the various command line > parameters as appropriate.) You're looking for optparse. I guess it's not a gem but part of the standard library. mortee