Module: Steering::Source

Defined in:
lib/steering/source.rb,
lib/steering/source/version.rb

Constant Summary collapse

VERSION =
"1.3.0"

Class Method Summary collapse

Class Method Details

.bundled_pathObject



5
6
7
# File 'lib/steering/source.rb', line 5

def self.bundled_path
  File.expand_path("../handlebars.js", __FILE__)
end

.bundled_runtime_pathObject



9
10
11
# File 'lib/steering/source.rb', line 9

def self.bundled_runtime_path
  File.expand_path("../handlebars.runtime.js", __FILE__)
end

.known_helpersObject



13
14
15
16
17
18
19
20
21
22
23
# File 'lib/steering/source.rb', line 13

def self.known_helpers
  @known_helpers ||= {
    :helperMissing => true,
    :blockHelperMissing => true,
    :each => true,
    :if => true,
    :unless => true,
    :with => true,
    :log => true
  }
end

.known_helpers=(known_helpers) ⇒ Object



25
26
27
# File 'lib/steering/source.rb', line 25

def self.known_helpers=(known_helpers)
  @known_helpers = known_helpers
end