lib/tadpole/providers/erb.rb in tadpole-0.1.1 vs lib/tadpole/providers/erb.rb in tadpole-0.1.2
- old
+ new
@@ -7,10 +7,10 @@
def initialize(full_path, owner)
super
erb = ERB.new(content, nil, '<>')
- instance_eval(<<-eof, full_path, -4)
+ instance_eval(<<-eof, full_path, -2)
def render(locals = nil, &block)
if locals
opts = owner.options
owner.options = owner.options.to_hash.update(locals)
end
\ No newline at end of file