Module: I18n Abstract

Defined in:
lib/i18n-inflector/api.rb,
lib/i18n-inflector/hset.rb,
lib/i18n-inflector/config.rb,
lib/i18n-inflector/errors.rb,
lib/i18n-inflector/backend.rb,
lib/i18n-inflector/options.rb,
lib/i18n-inflector/version.rb,
lib/i18n-inflector/inflector.rb,
lib/i18n-inflector/lazy_enum.rb,
lib/i18n-inflector/api_strict.rb,
lib/i18n-inflector/interpolate.rb,
lib/i18n-inflector/long_comments.rb,
lib/i18n-inflector/inflection_data.rb,
lib/i18n-inflector/inflection_data_strict.rb

Overview

This module is abstract.

This namespace is shared with I18n subsystem.

Defined Under Namespace

Modules: Backend, Inflector Classes: ArgumentError, BadInflectionAlias, BadInflectionKind, BadInflectionToken, ComplexPatternMalformed, DuplicatedInflectionToken, InflectionConfigurationException, InflectionException, InflectionOptionIncorrect, InflectionOptionNotFound, InflectionPatternException, InvalidInflectionKind, InvalidInflectionOption, InvalidInflectionToken, InvalidLocale, InvalidOptionForKind, MisplacedInflectionToken

Class Method Summary collapse

Class Method Details

.inflectorI18n::Inflector::API

This is proxy method that returns an inflector object used by the current I18n backend.

Returns:


20
21
22
# File 'lib/i18n-inflector/inflector.rb', line 20

def inflector
  I18n.backend.inflector
end