Class: Troy::Configuration
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Troy::Configuration
- Defined in:
- lib/troy/configuration.rb
Instance Method Summary collapse
Instance Method Details
#assets ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/troy/configuration.rb', line 13 def assets @assets ||= Configuration.new({ compress_html: true, compress_css: true, compress_js: true, precompile: [] }) end |
#i18n ⇒ Object
22 23 24 25 26 |
# File 'lib/troy/configuration.rb', line 22 def i18n @i18n ||= Configuration.new.tap do |config| config.load_path = ["config/locales/*.yml"] end end |