Module: Libv8

Defined in:
lib/libv8.rb,
lib/libv8/version.rb

Constant Summary collapse

LIBRARY_PATH =
Pathname(__FILE__).dirname.join('libv8', 'build', 'v8').to_s
INCLUDE_PATH =
Pathname(__FILE__).dirname.join('libv8', 'v8', 'include').to_s
V8_VERSION =
File.exist?(version_file) ? File.read(version_file).chomp : "0.0"
REVISION =
".4"
VERSION =
V8_VERSION + REVISION

Class Method Summary collapse

Class Method Details

.include_pathObject



12
13
14
# File 'lib/libv8.rb', line 12

def self.include_path
  INCLUDE_PATH
end

.library_pathObject



7
8
9
# File 'lib/libv8.rb', line 7

def self.library_path
  LIBRARY_PATH
end