Sha256: 2e4d97575ba2f4476cf397846702f96daf13dc3f1cdf4633a402e17bf58a0664
Contents?: true
Size: 330 Bytes
Versions: 2
Compression:
Stored size: 330 Bytes
Contents
# Based on https://github.com/cowboyd/handlebars.rb module HandlebarsAssets module Handlebars @loader = Loader.new module_function def precompile(*args) handlebars.precompile(*args) end def handlebars Handlebars.module_eval do @loader.require('handlebars') end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
handlebars_assets-0.0.3 | lib/handlebars_assets/handlebars.rb |
handlebars_assets-0.0.2 | lib/handlebars_assets/handlebars.rb |