lib/cliutils/messenger.rb in cliutils-2.2.2 vs lib/cliutils/messenger.rb in cliutils-2.2.3
- old
+ new
@@ -21,10 +21,10 @@
# Outputs a debug message; since this shouldn't appear in STDOUT,
# only send it to the Logger targets.
# @return [void]
def debug(m)
- @targets.each { |_, t| t.debug(m) }
+ @targets.each { |_, t| t.debug { m } }
end
# Detaches a delegation target.
# @param [<String, Symbol>] target_name The target to remove
# @return [void]