Sha256: 731a89b5180422095a8d7d32747a4e1c212a6d7685eb7cd9655dee69e25679a7
Contents?: true
Size: 366 Bytes
Versions: 24
Compression:
Stored size: 366 Bytes
Contents
# frozen_string_literal: true module Octokit # Allows warnings to be suppressed via environment variable. module Warnable module_function # Wrapper around Kernel#warn to print warnings unless # OCTOKIT_SILENT is set to true. # # @return [nil] def octokit_warn(*message) warn message unless ENV['OCTOKIT_SILENT'] end end end
Version data entries
24 entries across 24 versions & 2 rubygems