Method: Mobility::Backends::Sequel::Json#read

Defined in:
lib/mobility/backends/sequel/json.rb

#read(locale, options = {}) ⇒ String, ...

Note:

Translation may be any json type, but querying will only work on string-typed values.

Returns Value of translation.

Parameters:

  • locale (Symbol)

    Locale to read

  • options (Hash) (defaults to: {})

Returns:

  • (String, Integer, Boolean)

    Value of translation



# File 'lib/mobility/backends/sequel/json.rb', line 17