Skip to content

Commit

Permalink
Improve payload_object logging
Browse files Browse the repository at this point in the history
  • Loading branch information
xronos-i-am committed Aug 21, 2020
1 parent 5ac5ade commit 8c52ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/delayed/performable_method.rb
Expand Up @@ -15,7 +15,7 @@ def initialize(object, method_name, args)
end

def display_name
if object.is_a?(Class)
if object.is_a?(Class) || object.is_a?(Module)
"#{object}.#{method_name}"
else
"#{object.class}##{method_name}"
Expand Down

0 comments on commit 8c52ad2

Please sign in to comment.