Sha256: 656e287bac03c2aa8e4d0c83e0ae3d5a0f464e57999b76672a2b978c29637c25

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

require "active_support/deprecation"

module Skylight
  SKYLIGHT_GEM_ROOT = File.expand_path("../..", __dir__) + "/"

  class Deprecation < ActiveSupport::Deprecation
    private

      def ignored_callstack(path)
        path.start_with?(SKYLIGHT_GEM_ROOT)
      end
  end

  DEPRECATOR = Deprecation.new("6.0", "skylight")
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
skylight-5.0.0.beta lib/skylight/deprecation.rb