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
120
121
122
|
# File 'lib/phantomjs/platform.rb', line 120
def package_url
'https://github.com/eugene1g/phantomjs/releases/download/2.0.0-bin/phantomjs-2.0.0-ubuntu_x86_64.zip'
end
|
116
117
118
|
# File 'lib/phantomjs/platform.rb', line 116
def platform
'x86_64-linux'
end
|
.useable? ⇒ Boolean
112
113
114
|
# File 'lib/phantomjs/platform.rb', line 112
def useable?
host_os.include?('linux') and architecture.include?('x86_64')
end
|