Sha256: 9bb7bfd21cc7d5a7cc0dbf8346ebbae72f7f27775988e3ec9f482301894e7b4e

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true

module Esse
  class Index
    class << self
      extend Gem::Deprecate

      def define_type(name, *args, **kwargs, &block)
        repository(name, *args, **kwargs, &block)
      end
      deprecate :define_type, :repository, 2022, 8

      def type_hash
        repo_hash
      end
      deprecate :type_hash, :repo_hash, 2022, 8
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
esse-0.2.2 lib/esse/deprecations/index.rb