lib/rubber/environment.rb in rubber-2.0.1 vs lib/rubber/environment.rb in rubber-2.0.2
- old
+ new
@@ -132,10 +132,10 @@
return self[key]
end
def expand_string(val)
while val =~ /\#\{[^\}]+\}/
- val = eval('%Q{' + val + '}', binding)
+ val = eval('%Q{' + val + '}', binding, __FILE__)
end
val = true if val =="true"
val = false if val == "false"
return val
end
\ No newline at end of file