Module: Ruby::Enum::I18nMock

Defined in:
lib/ruby-enum/enum/i18n_mock.rb

Overview

Mock I18n module in case the i18n gem is not available.

Class Method Summary collapse

Class Method Details

.load_pathObject



9
10
11
# File 'lib/ruby-enum/enum/i18n_mock.rb', line 9

def self.load_path
  []
end

.translate(key, _options = {}) ⇒ Object



13
14
15
# File 'lib/ruby-enum/enum/i18n_mock.rb', line 13

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