Module: Newport

Defined in:
lib/newport.rb,
lib/newport/new.rb,
lib/newport/help.rb,
lib/newport/build.rb,
lib/newport/version.rb

Defined Under Namespace

Classes: Build, Help, New

Constant Summary collapse

VERSION =
'1.0.7'

Class Method Summary collapse

Class Method Details

.loggerObject



29
30
31
32
33
# File 'lib/newport.rb', line 29

def logger
  @logger ||= Logger.new($stdout)
  @logger.formatter = proc { |_severity, _datetime, _progname, msg| "#{msg}\n" }
  @logger
end