Class: Phantomjs::Platform::OsX
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
132
133
134
|
# File 'lib/phantomjs/platform.rb', line 132
def package_url
'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.0.0-macosx.zip'
end
|
128
129
130
|
# File 'lib/phantomjs/platform.rb', line 128
def platform
'darwin'
end
|
.useable? ⇒ Boolean
124
125
126
|
# File 'lib/phantomjs/platform.rb', line 124
def useable?
host_os.include?('darwin')
end
|