We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eb5fd0 commit 82ad783Copy full SHA for 82ad783
lib/workflow.rb
@@ -268,7 +268,7 @@ def run_action(action, *args)
268
end
269
270
def has_callback?(action)
271
- self.respond_to?(action) or self.private_methods.include?(action)
+ self.respond_to?(action) or self.private_methods.map { |n| n.to_sym }.include?(action)
272
273
274
def run_action_callback(action_name, *args)
0 commit comments