Created
April 9, 2019 14:47
-
-
Save adamruzicka/f23d8ee196d53451a42a55e40d5b65a2 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
From 8f229a0a92ff5e490a1dc30e79477bcfb9a1b6ba Mon Sep 17 00:00:00 2001 | |
From: Adam Ruzicka <aruzicka@redhat.com> | |
Date: Tue, 9 Apr 2019 16:46:26 +0200 | |
Subject: [PATCH] example | |
--- | |
lib/smart_proxy_dynflow_core/log.rb | 16 ++++++++++++++++ | |
1 file changed, 16 insertions(+) | |
diff --git a/lib/smart_proxy_dynflow_core/log.rb b/lib/smart_proxy_dynflow_core/log.rb | |
index d910286..7d3693b 100644 | |
--- a/lib/smart_proxy_dynflow_core/log.rb | |
+++ b/lib/smart_proxy_dynflow_core/log.rb | |
@@ -122,3 +122,19 @@ module SmartProxyDynflowCore | |
end | |
end | |
end | |
+ | |
+class PryAction < ::Dynflow::Action | |
+ require 'pry' | |
+ def plan(args) | |
+ # logging | |
+ plan_self | |
+ end | |
+ | |
+ def run | |
+ binding.pry | |
+ end | |
+ | |
+ def finalize | |
+ binding.pry | |
+ end | |
+end | |
-- | |
2.20.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment