Module: ActionController::MobileFu
- Defined in:
- lib/mobile-fu.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Constant Summary
- MOBILE_USER_AGENTS =
These are various strings that can be found in mobile devices. Please feel free to add on to this list.
'palm|blackberry|nokia|phone|midp|mobi|symbian|chtml|ericsson|minimo|' + 'audiovox|motorola|samsung|telit|upg1|windows ce|ucweb|astel|plucker|' + 'x320|x240|j2me|sgh|portable|sprint|docomo|kddi|softbank|android|mmp|' + 'pdxgw|netfront|xiino|vodafone|portalmmm|sagem|mot-|sie-|ipod|up\\.b|' + 'webos|amoi|novarra|cdm|alcatel|pocket|ipad|iphone|mobileexplorer|' + 'mobile'
Class Method Summary (collapse)
Class Method Details
+ (Object) included(base)
12 13 14 |
# File 'lib/mobile-fu.rb', line 12 def self.included(base) base.extend(ClassMethods) end |