Sha256: 00904617f090035f0b1b1780b0de4bd079a167987e6669f3c9c2ed46128e49d9

Contents?: true

Size: 298 Bytes

Versions: 1

Compression:

Stored size: 298 Bytes

Contents

# frozen_string_literal: true

# :nocov:
module Ruby
  module Enum
    ##
    # Mock I18n module in case the i18n gem is not available.
    module I18nMock
      def self.load_path
        []
      end

      def self.translate(key, _options = {})
        key
      end
    end
  end
end
# :nocov:

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-enum-1.0.0 lib/ruby-enum/enum/i18n_mock.rb