Method: Mobility::Backend::Sequel::Serialized#read

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

#read(locale, **options) ⇒ Object

Returns Value of translation.

Parameters:

  • locale (Symbol)

    Locale to read

  • options (Hash)

Returns:

  • (Object)

    Value of translation

[View source]

38
39
40
# File 'lib/mobility/backend/sequel/serialized.rb', line 38

def read(locale, **options)
  translations[locale]
end