Module: Burek
- Defined in:
- lib/burek.rb,
lib/config.rb,
lib/core/core.rb,
lib/file_helpers.rb,
lib/core/burek_call.rb,
lib/rails/view_helpers.rb,
lib/core/translations_store.rb
Defined Under Namespace
Modules: Core, FileHelpers, ViewHelpers
Classes: BurekCall, BurekConfiguration, Railtie, TranslationsStore
Constant Summary
collapse
- @@configuration =
BurekConfiguration.new({
search_folders: ['./app/views/**/*'],
translations_path: './config/locales/',
translation_placeholder: 'TODO',
ignore_folders_for_key: ['.','app'],
subfolder_depth: 2,
locales: ['en']
})
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
42
43
44
|
# File 'lib/config.rb', line 42
def self.config
configuration
end
|
.configuration ⇒ Object
38
39
40
|
# File 'lib/config.rb', line 38
def self.configuration
@@configuration
end
|
.setup {|@@configuration| ... } ⇒ Object
34
35
36
|
# File 'lib/config.rb', line 34
def self.setup
yield @@configuration
end
|