Class: Browser::Device::Base
- Inherits:
-
Object
- Object
- Browser::Device::Base
- Defined in:
- lib/browser/device/base.rb
Direct Known Subclasses
Android, BlackBerryPlaybook, Ipad, Iphone, IpodTouch, Kindle, KindleFire, PSVita, PlayStation3, PlayStation4, Samsung, Surface, Switch, Unknown, WiiU, Xbox360, XboxOne
Instance Attribute Summary collapse
-
#ua ⇒ Object
readonly
Returns the value of attribute ua.
Instance Method Summary collapse
-
#initialize(ua) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(ua) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/browser/device/base.rb', line 8 def initialize(ua) @ua = ua end |
Instance Attribute Details
#ua ⇒ Object (readonly)
Returns the value of attribute ua.
6 7 8 |
# File 'lib/browser/device/base.rb', line 6 def ua @ua end |