lib/user_agent/browsers.rb in useragent-0.1.3 vs lib/user_agent/browsers.rb in useragent-0.1.4
- old
+ new
@@ -1,12 +1,12 @@
+require 'user_agent/browsers/all'
+require 'user_agent/browsers/gecko'
+require 'user_agent/browsers/internet_explorer'
+require 'user_agent/browsers/opera'
+require 'user_agent/browsers/webkit'
+
class UserAgent
module Browsers
- autoload :All, 'user_agent/browsers/all'
- autoload :Gecko, 'user_agent/browsers/gecko'
- autoload :InternetExplorer, 'user_agent/browsers/internet_explorer'
- autoload :Opera, 'user_agent/browsers/opera'
- autoload :Webkit, 'user_agent/browsers/webkit'
-
Security = {
"N" => :none,
"U" => :strong,
"I" => :weak
}.freeze