lib/tilt/template.rb in tilt-2.0.7 vs lib/tilt/template.rb in tilt-2.0.8

- old
+ new

@@ -262,9 +262,10 @@ TOPOBJECT.class_eval do def #{method_name}(locals) Thread.current[:tilt_vars] = [self, locals] class << self this, locals = Thread.current[:tilt_vars] + locals = locals this.instance_eval do #{local_code} RUBY offset += method_source.count("\n") method_source << source