Add Zip namespace to DOSTime class

In the top level, it conflicts with the archive-zip library's class of
the same name.
This commit is contained in:
James Sanders 2012-03-01 10:30:49 -07:00
parent 156c0c04b5
commit ab99778c37
1 changed files with 35 additions and 33 deletions

View File

@ -1,4 +1,5 @@
class DOSTime < Time #:nodoc:all module Zip
class DOSTime < Time #:nodoc:all
#MS-DOS File Date and Time format as used in Interrupt 21H Function 57H: #MS-DOS File Date and Time format as used in Interrupt 21H Function 57H:
@ -40,6 +41,7 @@ class DOSTime < Time #:nodoc:all
return self.local(year, month, day, hour, minute, second) return self.local(year, month, day, hour, minute, second)
end end
end end
end
end end
# Copyright (C) 2002, 2003 Thomas Sondergaard # Copyright (C) 2002, 2003 Thomas Sondergaard