Class: Browser::Platform::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/browser/platform/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/platform/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/platform/base.rb', line 6

def ua
  @ua
end

Instance Method Details

#match?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/browser/platform/base.rb', line 12

def match?
  false
end