Module: KnifeCloudformation::Utils::Debug::Output

Defined in:
lib/knife-cloudformation/utils/debug.rb

Overview

Output helpers

Instance Method Summary collapse

Instance Method Details

#debug(msg) ⇒ Object

Write debug message

Parameters:

  • msg (String)


12
13
14
# File 'lib/knife-cloudformation/utils/debug.rb', line 12

def debug(msg)
  puts "<KnifeCloudformation>: #{msg}" if ENV['DEBUG']
end