Sha256: e11d087282e571ac88a7b14dcd3461256303b8dfb9734b828f6c50e7008f33aa

Contents?: true

Size: 257 Bytes

Versions: 18

Compression:

Stored size: 257 Bytes

Contents

# frozen_string_literal: true

module GraphQL
  module Deprecation
    def self.warn(message)
      if defined?(ActiveSupport::Deprecation)
        ActiveSupport::Deprecation.warn(message)
      else
        Kernel.warn(message)
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
graphql-1.12.19 lib/graphql/deprecation.rb
graphql-1.12.18 lib/graphql/deprecation.rb
graphql-1.12.17 lib/graphql/deprecation.rb
graphql-1.12.16 lib/graphql/deprecation.rb
graphql-1.12.15 lib/graphql/deprecation.rb
graphql-1.12.14 lib/graphql/deprecation.rb
graphql-1.12.13 lib/graphql/deprecation.rb
graphql-1.12.12 lib/graphql/deprecation.rb
graphql-1.12.11 lib/graphql/deprecation.rb
graphql-1.12.10 lib/graphql/deprecation.rb
graphql-1.12.9 lib/graphql/deprecation.rb
graphql-1.12.8 lib/graphql/deprecation.rb
graphql-1.12.7 lib/graphql/deprecation.rb
graphql-1.12.6 lib/graphql/deprecation.rb
graphql-1.12.5 lib/graphql/deprecation.rb
graphql-1.12.4 lib/graphql/deprecation.rb
graphql-1.12.3 lib/graphql/deprecation.rb
graphql-1.12.2 lib/graphql/deprecation.rb