lib/hogan_assets/hogan.rb in hogan_assets-1.0.3 vs lib/hogan_assets/hogan.rb in hogan_assets-1.1.0
- old
+ new
@@ -3,10 +3,10 @@
require 'pathname'
module HoganAssets
class Hogan
class << self
- def compile(source)
+ def compile(source, options = {})
context.eval("Hogan.compile(#{source.inspect}, {asString: true})")
end
private