lib/saucelabs/parsed_values.rb
def extract_values_from(browser_string)
      browser = extract_browser(browser_string).to_sym
      version = extract_version(browser_string)
      platform = extract_platform(browser_string)
      device = extract_device(browser_string)
      return browser,version,platform,device
    end
def extract_values_from(browser_string)
      browser = extract_browser(browser_string).to_sym
      version = extract_version(browser_string)
      platform = extract_platform(browser_string)
      device = extract_device(browser_string)
      return browser,version,platform,device
    end
def extract_values_from ( browser_string ) browser = extract_browser ( browser_string ) . to_sym version = extract_version ( browser_string ) platform = extract_platform ( browser_string ) device = extract_device ( browser_string ) return browser , version , platform , device end
Extracts browser, version, platform, device from the browser string

 @example
   extract_values_from(:'safari5|linux|iphone') will extract
 browser = safari
 version=5
 platform=Linux
 device=iPhone

 @param  [String] the browser string passed into the method
 @return [String,String,String,String] browser, version, platform and device
Extracts browser version platform device from the browser string