lib/autocuke/runtime.rb in autocuke-0.1.0 vs lib/autocuke/runtime.rb in autocuke-0.1.1
- old
+ new
@@ -58,8 +58,13 @@
# Overwrite for custom handlers
def handler
Autocuke::Handler
end
+
+ # Stops the EM reactor
+ def stop!
+ EM.stop
+ end
end # Runtime
end # Autocuke