Module: Scribe

Defined in:
lib/scribe/symbols.rb

Class Method Summary collapse

Class Method Details

.keystone_compilerObject



9
10
11
# File 'lib/scribe/symbols.rb', line 9

def self.keystone_compiler
  @@keystone_compiler ||= pipeline.compiler("scribe.js")
end

.pipelineObject



5
6
7
# File 'lib/scribe/symbols.rb', line 5

def self.pipeline
  @@pipeline ||= ::Keystone.bootstrap("#{root_path}/config/assets.rb")
end

.root_pathObject



13
14
15
# File 'lib/scribe/symbols.rb', line 13

def self.root_path
  File.expand_path("#{File.dirname(__FILE__)}/../../")
end