Module: LicenseAcceptance::Logger

Included in:
Acceptor, ProductReader, Strategy::File, Strategy::Prompt
Defined in:
lib/license_acceptance/logger.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.initialize(logger) ⇒ Object


6
7
8
# File 'lib/license_acceptance/logger.rb', line 6

def self.initialize(logger)
  @logger ||= logger
end

.loggerObject


10
11
12
# File 'lib/license_acceptance/logger.rb', line 10

def self.logger
  @logger
end

Instance Method Details

#loggerObject


14
15
16
# File 'lib/license_acceptance/logger.rb', line 14

def logger
  Logger.logger
end