Module: Platform::Windows_7_opera

Defined in:
lib/sauce_platforms/platforms/windows_7/windows_7_opera.rb

Class Method Summary collapse

Class Method Details

.v(version_string) ⇒ Object



10
11
12
# File 'lib/sauce_platforms/platforms/windows_7/windows_7_opera.rb', line 10

def v version_string
  windows_7_opera version_string
end

.v11Object



14
15
16
# File 'lib/sauce_platforms/platforms/windows_7/windows_7_opera.rb', line 14

def v11
  windows_7_opera '11'
end

.v12Object



18
19
20
# File 'lib/sauce_platforms/platforms/windows_7/windows_7_opera.rb', line 18

def v12
  windows_7_opera '12'
end

.windows_7_opera(version_string) ⇒ Object



4
5
6
7
8
# File 'lib/sauce_platforms/platforms/windows_7/windows_7_opera.rb', line 4

def windows_7_opera version_string
  { browserName: %q(opera),
    platform: %q(Windows 7),
    version: version_string.to_s }
end