Class: Browser::Meta::Mobile

Inherits:
Base
  • Object
show all
Defined in:
lib/browser/meta/mobile.rb

Instance Attribute Summary

Attributes inherited from Base

#browser

Instance Method Summary collapse

Methods inherited from Base

#initialize, #to_a

Constructor Details

This class inherits a constructor from Browser::Meta::Base

Instance Method Details

#metaObject



6
7
8
# File 'lib/browser/meta/mobile.rb', line 6

def meta
  "mobile" if browser.device.mobile?
end