Method: MobileESPConverted::UserAgentInfo#detect_ubuntu_tablet
- Defined in:
- lib/mobileesp_converted/user_agent_info.rb
#detect_ubuntu_tablet ⇒ Object
-
- Detects a tablet running the Ubuntu Mobile OS.
- @return detection of an Ubuntu Mobile OS tablet
1048 1049 1050 1051 1052 1053 1054 |
# File 'lib/mobileesp_converted/user_agent_info.rb', line 1048 def detect_ubuntu_tablet() if ((user_agent.include?(DEVICE_UBUNTU)) && (user_agent.include?(DEVICE_TABLET))) return true end return false end |