Skip to content
Browse files

Premature optimisation should never be released before testing.

  • Loading branch information...
1 parent 7876e06 commit 819454473176d43e1c55ac08225ffa1572259692 @46bit committed Apr 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/fairytale.rb
View
2 lib/fairytale.rb
@@ -50,7 +50,7 @@ def scss file, params = {}, &block
end
def tilt file, params = {}, &block
- engine_options = params[:engine_options].to_a
+ engine_options = params[:engine_options] || {}
template = Tilt.new file.to_s, nil, engine_options
template.render(self, params) { block.call }
end

0 comments on commit 8194544

Please sign in to comment.
Something went wrong with that request. Please try again.