diff --git a/lib/delayed/performable_method.rb b/lib/delayed/performable_method.rb index 96a28b056..b3cd9ac42 100644 --- a/lib/delayed/performable_method.rb +++ b/lib/delayed/performable_method.rb @@ -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}"