I18n::Backends::Hash
Inherits I18n::Backend / Reference / Object
Plain Hash backend.
It MUST be populated with data explicitly upon creation.
Constructors
new(data)
Initializes a backend and loads it with data (it MUST be a Hash).
backend = I18n::Backends::Hash.new.tap { |b| b.load({"foo" => "bar"}) }
TODO: Find a way to implement this without external parsers.