Class: Phantomjs::Platform::Linux64
Class Method Summary
collapse
architecture, ensure_installed!, host_os, install!, installed?, phantomjs_path
Class Method Details
.package_url ⇒ Object
78
79
80
|
# File 'lib/phantomjs/platform.rb', line 78
def package_url
'http://phantomjs.googlecode.com/files/phantomjs-1.7.0-linux-x86_64.tar.bz2'
end
|
74
75
76
|
# File 'lib/phantomjs/platform.rb', line 74
def platform
'x86_64-linux'
end
|
.useable? ⇒ Boolean
70
71
72
|
# File 'lib/phantomjs/platform.rb', line 70
def useable?
host_os.include?('linux') and architecture.include?('x86_64')
end
|