Created
November 14, 2018 13:00
-
-
Save adamruzicka/51f1a65deb7e46c8d25d13c8fa926f22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require_relative 'example_helper' | |
class Stuck < Dynflow::Action | |
def plan | |
puts "Getting stuck" | |
Kernel.exit! | |
end | |
end | |
if $0 == __FILE__ | |
ExampleHelper.world.action_logger.level = 1 | |
ExampleHelper.world.logger.level = 0 | |
ExampleHelper.world.trigger(Stuck) if ARGV[0] == 'stuck' | |
ExampleHelper.run_web_console | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment