fairytale 0.7.9.2 → 0.7.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/fairytale.rb +1 -1
  2. metadata +1 -1
@@ -50,7 +50,7 @@ module Fairytale
50
50
  end
51
51
 
52
52
  def tilt file, params = {}, &block
53
- engine_options = params[:engine_options].to_a
53
+ engine_options = params[:engine_options] || {}
54
54
  template = Tilt.new file.to_s, nil, engine_options
55
55
  template.render(self, params) { block.call }
56
56
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fairytale
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.9.2
4
+ version: 0.7.9.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: