Method: AppInfo::Android#device
- Defined in:
- lib/app_info/android.rb
#device ⇒ Symbol
Returns Device.
37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/app_info/android.rb', line 37 def device if watch? Device::Google::WATCH elsif television? Device::Google::TELEVISION elsif automotive? Device::Google::AUTOMOTIVE elsif tablet? Device::Google::TABLET else Device::Google::PHONE end end |