Module: GoodGuide::Gibbon

Defined in:
lib/goodguide/gibbon.rb,
lib/goodguide/gibbon/version.rb

Defined Under Namespace

Classes: AbstractClient, Context, JS, Program, QueryError, RuntimeClient, RuntimeError, SemanticError, StaticClient

Class Method Summary collapse

Class Method Details

.dev_js_libObject



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

def self.dev_js_lib
  root.join('vendor/gibbon/lib/gibbon.browser.dev.js')
end

.js_libObject



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

def self.js_lib
  root.join('vendor/gibbon/lib/gibbon.browser.js')
end

.js_sourceObject



19
20
21
# File 'lib/goodguide/gibbon.rb', line 19

def self.js_source
  @js_source ||= File.read(js_lib)
end

.rootObject



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

def self.root
  Pathname.new(__FILE__).dirname.parent.parent
end

.versionObject



3
4
5
# File 'lib/goodguide/gibbon/version.rb', line 3

def self.version
  '0.3.3'
end