class Phantomjs::Platform::Win32
Public Class Methods
package_url()
click to toggle source
# File lib/phantomjs/platform.rb, line 156 def package_url 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-windows.zip' end
phantomjs_path()
click to toggle source
# File lib/phantomjs/platform.rb, line 148 def phantomjs_path if system_phantomjs_installed? system_phantomjs_path else File.expand_path File.join(Phantomjs.base_dir, platform, 'phantomjs.exe') end end
platform()
click to toggle source
# File lib/phantomjs/platform.rb, line 144 def platform 'win32' end
useable?()
click to toggle source
# File lib/phantomjs/platform.rb, line 140 def useable? host_os.include?('mingw32') and architecture.include?('i686') end