Class: Baren::PhantomJs

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

Class Method Summary collapse

Class Method Details

.pathObject



11
12
13
# File 'lib/baren.rb', line 11

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

.pjs2png_pathObject



15
16
17
# File 'lib/baren.rb', line 15

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