lib/user_agent/operating_systems.rb in useragent-0.0.5 vs lib/user_agent/operating_systems.rb in useragent-0.1.0
- old
+ new
@@ -8,10 +8,10 @@
"Windows NT 5.0" => "Windows 2000",
"Windows NT 4.0" => "Windows NT 4.0",
"Windows 98" => "Windows 98",
"Windows 95" => "Windows 95",
"Windows CE" => "Windows CE"
- }.freeze unless defined? Windows
+ }.freeze
def self.normalize_os(os)
Windows[os] || os
end
end