Class: DeviceWizard::Details::Browser

Inherits:
Object
  • Object
show all
Defined in:
lib/device_wizard/details/browser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBrowser

Returns a new instance of Browser.



9
10
11
12
# File 'lib/device_wizard/details/browser.rb', line 9

def initialize
  @name = UNKNOWN
  @version = UNKNOWN
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/device_wizard/details/browser.rb', line 6

def name
  @name
end

#versionObject

Returns the value of attribute version.



7
8
9
# File 'lib/device_wizard/details/browser.rb', line 7

def version
  @version
end