lib/hyperion/hyperion.rb in hyperion_http-0.1.8 vs lib/hyperion/hyperion.rb in hyperion_http-0.1.9

- old
+ new

@@ -58,10 +58,10 @@ def hyperion_result_for(typho_result, dispatch) result_maker = ResultMaker.new(route) if dispatch # callcc allows control to "jump" back here when the first predicate matches - callcc do |cont| + Util.callcc do |cont| dispatch.call(result_maker.make(typho_result, cont)) end else result_maker.make(typho_result) end