lib/trestle/hook.rb in trestle-0.9.2 vs lib/trestle/hook.rb in trestle-0.9.3

- old
+ new

@@ -18,11 +18,11 @@ else true end end - def evaluate(context) - context.instance_exec(&block) + def evaluate(context, *args) + context.instance_exec(*args, &block) end class Set attr_reader :hooks