class Simple

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

A simple backend that reads translations from YAML files and stores them in an in-memory hash. Relies on the Base backend.

The implementation is provided by a Implementation module allowing to easily extend Simple backend’s behavior by including modules. E.g.:

module I18n::Backend::Pluralization

def pluralize(*args)
  # extended pluralization logic
  super
end

end

I18n::Backend::Simple.send(:include, I18n::Backend::Pluralization)

Inherits from

Object

Namespace

Modules

Includes

Methods (inherited)

From I18n::Backend::Simple::Implementation (7)
From Object (37)
From Benchmark (2)
From I18n::Backend::Base (16)
From I18n::Backend::Transliterator (2)

Type at least 2 characters to search.

↑↓ navigate · open · esc close