Permalink
Browse files

radius template doesn't need to worry about CompileSite

I *think*.
  • Loading branch information...
1 parent b8e105b commit b00c2f5b5270db1830bf97d9f9ff0caacbbb2e82 @rtomayko rtomayko committed May 13, 2010
Showing with 1 addition and 5 deletions.
  1. +1 −5 lib/tilt.rb
View
@@ -775,11 +775,7 @@ def evaluate(scope, locals, &block)
if locals.key?(tag.to_sym)
locals[tag.to_sym]
else
- if scope.respond_to?(:__tilt__) # FIXME: is this right?
- scope.__send__(tag) # any way to support attr as args?
- else
- scope.instance_eval(tag)
- end
+ scope.__send__(tag) # any way to support attr as args?
end
end
end

0 comments on commit b00c2f5

Please sign in to comment.