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
- .bundled_path ⇒ Object
- .bundled_runtime_path ⇒ Object
- .known_helpers ⇒ Object
- .known_helpers=(known_helpers) ⇒ Object
Class Method Details
.bundled_path ⇒ Object
5 6 7 |
# File 'lib/steering/source.rb', line 5 def self.bundled_path File.("../handlebars.js", __FILE__) end |
.bundled_runtime_path ⇒ Object
9 10 11 |
# File 'lib/steering/source.rb', line 9 def self.bundled_runtime_path File.("../handlebars.runtime.js", __FILE__) end |
.known_helpers ⇒ Object
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 |