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