Class: Phantomjs::Platform::Linux64
Class Method Summary
collapse
architecture, ensure_installed!, host_os, install!, installed?, phantomjs_path, system_phantomjs_installed?, system_phantomjs_path, system_phantomjs_version, temp_path
Class Method Details
.package_url ⇒ Object
100
101
102
|
# File 'lib/phantomjs/platform.rb', line 100
def package_url
'https://github.com/bprodoehl/phantomjs/releases/download/v2.0.0-20150528/phantomjs-2.0.0-20150528-u1404-x86_64.zip'
end
|
96
97
98
|
# File 'lib/phantomjs/platform.rb', line 96
def platform
'x86_64-linux'
end
|
.useable? ⇒ Boolean
92
93
94
|
# File 'lib/phantomjs/platform.rb', line 92
def useable?
host_os.include?('linux') and architecture.include?('x86_64')
end
|