lib/tailog/eval.rb in tailog-0.4.1 vs lib/tailog/eval.rb in tailog-0.4.2

- old
+ new

@@ -15,12 +15,13 @@ @app.call(env) else before = env["HTTP_TAILOG_EVAL_BEFORE"].presence after = env["HTTP_TAILOG_EVAL_AFTER"].presence - eval before if before + binding = Object.new.send(:binding) + binding.eval before if before response = @app.call(env) - eval after if after + binding.eval after if after response end end