Module: QAT::CLI::Plugins::Core

Defined in:
lib/qat/cli/plugins/core.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 Core module to a project. Just used for testing, does nothing.

Parameters:

  • stdout (IO)

    Stdout stream

  • opts (Hash)

    Options hash

Since:

  • 0.1.0



12
13
14
# File 'lib/qat/cli/plugins/core.rb', line 12

def self.add_module stdout, opts
  stdout.puts 'Nothing to add in Core module' if opts[:verbose]
end