Method: PuppetfileEditor::Logging#log_and_exit

Defined in:
lib/puppetfile_editor/cli.rb

#log_and_exit(message) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



133
134
135
136
# File 'lib/puppetfile_editor/cli.rb', line 133

def log_and_exit(message)
  log(message, :warn)
  exit 1
end