Module: Handlebars
- Defined in:
- lib/handlebars.rb,
lib/handlebars/loader.rb,
lib/handlebars/version.rb
Defined Under Namespace
Classes: Loader
Constant Summary collapse
- VERSION =
"0.1.2"
Class Method Summary collapse
Class Method Details
.compile(*args) ⇒ Object
10 11 12 |
# File 'lib/handlebars.rb', line 10 def compile(*args) .compile(*args) end |
.handlebars ⇒ Object
18 19 20 21 22 |
# File 'lib/handlebars.rb', line 18 def Handlebars.module_eval do @loader.require('handlebars') end end |
.register_helper(name, &fn) ⇒ Object
14 15 16 |
# File 'lib/handlebars.rb', line 14 def register_helper(name, &fn) .registerHelper(name, fn) end |