Method: Mobility::Backend::Sequel::Serialized#write

Defined in:
lib/mobility/backend/sequel/serialized.rb

#write(locale, value, **options) ⇒ Object

Returns Value of translation.

Parameters:

  • locale (Symbol)

    Locale to read

  • options (Hash)

Returns:

  • (Object)

    Value of translation

[View source]

43
44
45
# File 'lib/mobility/backend/sequel/serialized.rb', line 43

def write(locale, value, **options)
  translations[locale] = value
end