Sha256: 4eb66881cd3eb34c816ba3af49cdf518b2cfe0dc218eb8be14f2be97af842f9c
Contents?: true
Size: 440 Bytes
Versions: 1
Compression:
Stored size: 440 Bytes
Contents
module G11n # DSL for the configuration of G11n module Configuration # Sets the translations path def path the_path = nil Translator.instance.translations_path = the_path + "/" if the_path Translator.instance.translations_path end # Sets or get the locale def locale the_locale = nil Translator.instance.locale = the_locale if the_locale Translator.instance.locale end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
g11n-0.0.4 | lib/g11n/configuration.rb |