lib/cliutils/logger-delegator.rb in cliutils-1.0.5 vs lib/cliutils/logger-delegator.rb in cliutils-1.0.6
- old
+ new
@@ -1,9 +1,11 @@
module CLIUtils
# LoggerDelegator Class
# Delegates certain Logger methods to a number of different
# targets.
class LoggerDelegator
+ # The endpoints to which delegation occurs.
+ # @return [Array]
attr_reader :targets
# Initializes and creates methods for the passed targets.
# @param [Logger] targets The endpoints to delegate to
# @return [void]