Module: GoodGuide::Gibbon

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

Defined Under Namespace

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

Class Method Summary collapse

Class Method Details

.dev_js_libObject



112
113
114
# File 'lib/goodguide/gibbon.rb', line 112

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

.js_libObject



108
109
110
# File 'lib/goodguide/gibbon.rb', line 108

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

.js_sourceObject



116
117
118
# File 'lib/goodguide/gibbon.rb', line 116

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

.rootObject



104
105
106
# File 'lib/goodguide/gibbon.rb', line 104

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.7.0'
end