fairytale 0.7.9.1 → 0.7.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fairytale.rb +2 -1
- metadata +1 -1
data/lib/fairytale.rb
CHANGED
@@ -50,7 +50,8 @@ module Fairytale
|
|
50
50
|
end
|
51
51
|
|
52
52
|
def tilt file, params = {}, &block
|
53
|
-
|
53
|
+
engine_options = params[:engine_options].to_a
|
54
|
+
template = Tilt.new file.to_s, nil, engine_options
|
54
55
|
template.render(self, params) { block.call }
|
55
56
|
end
|
56
57
|
|