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_lib ⇒ Object
84
85
86
|
# File 'lib/goodguide/gibbon.rb', line 84
def self.dev_js_lib
root.join('vendor/gibbon/lib/gibbon.browser.dev.js')
end
|
.js_lib ⇒ Object
80
81
82
|
# File 'lib/goodguide/gibbon.rb', line 80
def self.js_lib
root.join('vendor/gibbon/lib/gibbon.browser.js')
end
|
.js_source ⇒ Object
88
89
90
|
# File 'lib/goodguide/gibbon.rb', line 88
def self.js_source
@js_source ||= File.read(js_lib)
end
|
.root ⇒ Object
76
77
78
|
# File 'lib/goodguide/gibbon.rb', line 76
def self.root
Pathname.new(__FILE__).dirname.parent.parent
end
|
.version ⇒ Object
3
4
5
|
# File 'lib/goodguide/gibbon/version.rb', line 3
def self.version
'0.5.0'
end
|