module Transproc::Deprecations

Public Class Methods

announce(name, msg) click to toggle source
# File lib/transproc/support/deprecations.rb, line 5
    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