lib/mobileesp.rb
# Check to see whether the device is any device
#   in the 'smartphone' category.
Check to see whether the device is any device
in the 'smartphone' category.
Check to see whether the device is any device in the ' smartphone ' category .
def detect_smartphone
      ( detect_iphone_or_ipod ||
        detect_s60_oss_browser ||
        detect_symbian_os ||
        detect_android ||
        detect_windows_mobile ||
        detect_windows_phone7 ||
        detect_black_berry ||
        detect_palm_web_os ||
        detect_palm_os ||
        detect_garmin_nuvifone )
    end
def detect_smartphone ( detect_iphone_or_ipod || detect_s60_oss_browser || detect_symbian_os || detect_android || detect_windows_mobile || detect_windows_phone7 || detect_black_berry || detect_palm_web_os || detect_palm_os || detect_garmin_nuvifone ) end
Check to see whether the device is any device
in the 'smartphone' category.
Check to see whether the device is any device in the ' smartphone ' category .