Module: Warning
- Defined in:
- lib/asciidoc-bib.rb
Overview
suppress some warning messages
Class Method Summary collapse
Class Method Details
.warn(message) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/asciidoc-bib.rb', line 10 def self.warn() # Ignore the frozen string warning if it comes from the specific gem path return if .include?("--debug-frozen-string-literal") super() # Otherwise, print as usual end |