Class: Baren::PhantomJs

Inherits:
Object
  • Object
show all
Defined in:
lib/baren.rb

Class Method Summary collapse

Class Method Details

.pathObject



13
14
15
# File 'lib/baren.rb', line 13

def self.path
  File.join(File.dirname(__FILE__), '..', 'opt', 'phantomjs', 'bin', 'phantomjs')
end

.pjs2png_pathObject



17
18
19
# File 'lib/baren.rb', line 17

def self.pjs2png_path
  File.join(File.dirname(__FILE__), '..', 'opt', 'phantomjs', 'pjs2png.js.erb')
end