Sha256: 828b9218cd58695a4b2295521cd055c4e6d509c214df5f1ef5abc4bf77f9f14e

Contents?: true

Size: 485 Bytes

Versions: 1

Compression:

Stored size: 485 Bytes

Contents

require 'active_support'
require 'active_support/version'

module ActiveSupport # :nodoc:all
  if VERSION::MAJOR <= 2 && VERSION::MINOR <= 1
    module Deprecation
      class << self
        def deprecation_message(callstack, message = nil)
          message ||= "You are using deprecated behavior which will be removed from the next major or minor release."
          "DEPRECATION WARNING: #{message}. #{deprecation_caller_message(callstack)}"
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
Empact-roxml-2.2 lib/roxml/extensions/deprecation.rb