Module: QAT::CLI::Plugins::Logger

Defined in:
lib/qat/cli/plugins/logger.rb

Overview

Plugin for CLI functions

Since:

  • 0.1.0

Class Method Summary collapse

Class Method Details

.add_module(stdout, opts) ⇒ Object

Function for adding the Logger module to a project. Just used for testing, does nothing.

Parameters:

  • stdout (IO)

    Stdout stream

  • opts (Hash)

    Options hash

Since:

  • 0.1.0



16
17
18
# File 'lib/qat/cli/plugins/logger.rb', line 16

def self.add_module stdout, opts
  stdout.puts 'Logger already integrated' if opts[:verbose]
end