>>>>> "T" == Tom Payne <google / tompayne.org> writes:

T> class File

T>   alias :old_open open

     You have written an alias for an instance method, for a class method
     you need

     class << self
        alias old_open open
     end

T>   def File.open(filename, *args, &block)


Guy Decoux