lib/selenium/webdriver/zip_helper.rb in selenium-webdriver-0.0.27 vs lib/selenium/webdriver/zip_helper.rb in selenium-webdriver-0.0.28
- old
+ new
@@ -1,14 +1,11 @@
require 'zip/zip'
module Selenium
module WebDriver
-
module ZipHelper
- module_function
-
- def unzip(path)
+ def self.unzip(path)
destination = Dir.mktmpdir("unzip")
FileReaper << destination
Zip::ZipFile.open(path) do |zip|
zip.each do |entry|