Permalink
Browse files

Fixed SyntaxError occurring in 1.8.6 due to &block passed in a block.

  • Loading branch information...
1 parent daf7f67 commit b599dafa649949582219df484c4cfb4a11cdebd1 @cldwalker cldwalker committed with Jun 1, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tilt.rb
View
@@ -787,7 +787,7 @@ def evaluate(scope, locals, &block)
end
end
(class << context; self; end).class_eval do
- define_method :tag_missing do |tag, attr, &block|
+ define_method :tag_missing do |tag, attr|
scope.__send__(tag) # any way to support attr as args?
end
end

0 comments on commit b599daf

Please sign in to comment.