Module: UserAgent::Browsers
- Defined in:
- lib/user_agent/browsers.rb,
lib/user_agent/browsers/all.rb,
lib/user_agent/browsers/gecko.rb,
lib/user_agent/browsers/opera.rb,
lib/user_agent/browsers/webkit.rb,
lib/user_agent/browsers/internet_explorer.rb
Defined Under Namespace
Modules: All, Gecko, InternetExplorer, Opera, Webkit
Constant Summary
collapse
- Security =
{
"N" => :none,
"U" => :strong,
"I" => :weak
}.freeze
Class Method Summary
collapse
Class Method Details
.extend(array) ⇒ Object
19
20
21
22
23
24
|
# File 'lib/user_agent/browsers.rb', line 19
def self.extend(array)
array.extend(All)
all.each do |extension|
return array.extend(extension) if extension.extend?(array)
end
end
|