Class: HoganAssets::Hogan
- Inherits:
-
Object
- Object
- HoganAssets::Hogan
- Defined in:
- lib/hogan_assets/hogan.rb
Class Method Summary collapse
Class Method Details
.compile(source, options = {}) ⇒ Object
8 9 10 |
# File 'lib/hogan_assets/hogan.rb', line 8 def compile(source, = {}) context.eval("Hogan.compile(#{source.inspect}, {asString: true})") end |