module Octokit::Warnable
Allows warnings to be suppressed via environment variable.
Public Instance Methods
Source
# File lib/octokit/warnable.rb, line 12 def octokit_warn(*message) warn message unless ENV['OCTOKIT_SILENT'] end
Wrapper around Kernel#warn to print warnings unless OCTOKIT_SILENT is set to true.
@return [nil]