Sha256: 86a764459364c87fa8c4a9aa35c03829e7168743555eebe373bec9f85f20cf3e
Contents?: true
Size: 306 Bytes
Versions: 2
Compression:
Stored size: 306 Bytes
Contents
# frozen_string_literal: true module Transproc module Deprecations def self.announce(name, msg) warn <<-MSG.gsub(%r{^\s+}, '') #{name} is deprecated and will be removed in 1.0.0. #{msg} #{caller.detect { |l| !l.include?('lib/transproc') } } MSG end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
transproc-1.1.1 | lib/transproc/support/deprecations.rb |
transproc-1.1.0 | lib/transproc/support/deprecations.rb |