From: Dave Thomas Date: 2003-12-16T14:47:07+09:00 Subject: First pass at ri/rdoc stuff --Apple-Mail-55-904632166 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed I just checked in a rough first pass at ri/rdoc integration: dave[ruby/ruby 23:42:26] rdoc --ri lib/fileutils.rb fileutils.rb: m......................................mm Generating RI... dave[ruby/ruby 23:42:49] ri mv ------------------------------------------- FileUtils#mv mv(src, dest, options = {}) -------------------------------------------------------- Options: noop verbose Moves file(s) +src+ to +dest+. If +file+ and +dest+ exist on the different disk partition, the file is copied instead. FileUtils.mv 'badname.rb', 'goodname.rb' FileUtils.mv 'stuff.rb', 'lib/ruby', :force => true FileUtils.mv %w(junk.txt dust.txt), '/home/aamine/.trash/' FileUtils.mv Dir.glob('test*.rb'), 'test', :noop, :verbose => true (also known as move) I haven't yet loaded the standard library stuff in, so things such as 'ri Array' won't yet work with this version of ri. It shouldn't take too long, though. Cheers Dave --Apple-Mail-55-904632166 Content-Transfer-Encoding: 7bit Content-Type: text/enriched; charset=US-ASCII I just checked in a rough first pass at ri/rdoc integration: Courier Newdave[ruby/ruby 23:42:26] rdoc --ri lib/fileutils.rb fileutils.rb: m......................................mm Generating RI... dave[ruby/ruby 23:42:49] ri mv ------------------------------------------- FileUtils#mv mv(src, dest, options = {}) -------------------------------------------------------- Options: noop verbose Moves file(s) +src+ to +dest+. If +file+ and +dest+ exist on the different disk partition, the file is copied instead. FileUtils.mv 'badname.rb', 'goodname.rb' FileUtils.mv 'stuff.rb', 'lib/ruby', :force => true FileUtils.mv %w(junk.txt dust.txt), '/home/aamine/.trash/' FileUtils.mv Dir.glob('test*.rb'), 'test', :noop, :verbose => true (also known as move) I haven't yet loaded the standard library stuff in, so things such as 'ri Array' won't yet work with this version of ri. It shouldn't take too long, though. Cheers Dave --Apple-Mail-55-904632166--