Class: Browser::Device::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/browser/device/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#uaObject (readonly)

Returns the value of attribute ua.



6
7
8
# File 'lib/browser/device/base.rb', line 6

def ua
  @ua
end