mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Mon Dec 24 23:04:57 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
* lib/ftools.rb: removed obsoleted lib.  use fileutils instead (by eban).
        * lib/rdoc/rdoc.rb, lib/rdoc/generators/*, lib/rake.rb: let it use
          fileutils instead of ftools.
        * lib/shell/command-processor.rb: removed unused references to ftools.
        * lib/parsedate.rb: removed.  see [ruby-core:12535], [ruby-dev:31969].
        * lib/README: updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
			
			
This commit is contained in:
		
							parent
							
								
									ce0aa0af91
								
							
						
					
					
						commit
						1019297323
					
				
					 10 changed files with 20 additions and 352 deletions
				
			
		| 
						 | 
				
			
			@ -11,7 +11,6 @@
 | 
			
		|||
#
 | 
			
		||||
 | 
			
		||||
require "e2mmap"
 | 
			
		||||
require "ftools"
 | 
			
		||||
require "thread"
 | 
			
		||||
 | 
			
		||||
require "shell/error"
 | 
			
		||||
| 
						 | 
				
			
			@ -589,24 +588,6 @@ class Shell
 | 
			
		|||
      def_builtin_commands(FileTest, 
 | 
			
		||||
		   FileTest.singleton_methods(false).collect{|m| [m, ["FILENAME"]]})
 | 
			
		||||
 | 
			
		||||
#       # method related ftools
 | 
			
		||||
#       normal_delegation_ftools_methods = [
 | 
			
		||||
# 	["syscopy", ["FILENAME_FROM", "FILENAME_TO"]],
 | 
			
		||||
# 	["copy", ["FILENAME_FROM", "FILENAME_TO"]],
 | 
			
		||||
# 	["move", ["FILENAME_FROM", "FILENAME_TO"]],
 | 
			
		||||
# 	["compare", ["FILENAME_FROM", "FILENAME_TO"]],
 | 
			
		||||
# 	["safe_unlink", ["*FILENAMES"]],
 | 
			
		||||
# 	["makedirs", ["*FILENAMES"]],
 | 
			
		||||
# 	#    ["chmod", ["mode", "*FILENAMES"]],
 | 
			
		||||
# 	["install", ["FILENAME_FROM", "FILENAME_TO", "mode"]],
 | 
			
		||||
#       ]
 | 
			
		||||
#       def_builtin_commands(File,
 | 
			
		||||
# 		   normal_delegation_ftools_methods)
 | 
			
		||||
#       alias_method :cmp, :compare
 | 
			
		||||
#       alias_method :mv, :move
 | 
			
		||||
#       alias_method :cp, :copy
 | 
			
		||||
#       alias_method :rm_f, :safe_unlink
 | 
			
		||||
#       alias_method :mkpath, :makedirs
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
  end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue