Sha256: ce068bc9df49853d0aa1b55bd9aea9e0b6e9f1f07baeb0aa8bb4877840e889ab
Contents?: true
Size: 356 Bytes
Versions: 3
Compression:
Stored size: 356 Bytes
Contents
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) unless ENV['OCTOKIT_SILENT'] warn message end end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
octokit-4.24.0 | lib/octokit/warnable.rb |
tdiary-5.2.2 | vendor/bundle/ruby/3.1.0/gems/octokit-4.23.0/lib/octokit/warnable.rb |
octokit-4.23.0 | lib/octokit/warnable.rb |