Module: Localer
- Defined in:
- lib/localer.rb,
lib/localer/data.rb,
lib/localer/rails.rb,
lib/localer/config.rb,
lib/localer/version.rb,
lib/localer/ext/hash.rb,
lib/localer/rake_task.rb,
lib/localer/ext/string.rb,
lib/localer/data/checker.rb,
lib/localer/data/service.rb,
lib/localer/config/locale.rb,
lib/localer/data/processor.rb,
lib/localer/data/missing_translations.rb
Overview
Defined Under Namespace
Modules: Ext, Rails
Classes: Config, Data, RakeTask
Constant Summary
collapse
- VERSION =
"0.2.0"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
18
19
20
|
# File 'lib/localer.rb', line 18
def config
@config ||= configure
end
|
22
23
24
|
# File 'lib/localer.rb', line 22
def configure(options = {})
@config = Config.load(options)
end
|
.data ⇒ Object
14
15
16
|
# File 'lib/localer.rb', line 14
def data
@data ||= load_data
end
|
.load_data(source = Localer::Rails.translations) ⇒ Object