lib/hyde/renderer.rb in hydeweb-0.0.1.pre5 vs lib/hyde/renderer.rb in hydeweb-0.0.2.pre
- old
+ new
@@ -46,10 +46,10 @@
eval(f_set_locals, scope)
scope_object.instance_eval do
def eval_block(src, &block)
# This will let you eval something, and `yield` within that block.
- eval src
+ eval src, &block
end
extend Hyde::TemplateHelpers
end
scope