class Rosetta::Config

Defined in:

rosetta/config.cr

Instance Method Summary

Instance Method Detail

def locale : String #

Gets the current locale or falls back to the default locale if it's not defined.


[View source]
def locale=(locale : String | Symbol) #

Sets the current locale with the given value, if it's found in the available locales.


[View source]