Method: UtopiaData::Application#initialize
- Defined in:
- lib/utopia_data/application.rb
#initialize ⇒ Application
create a default value to resources and Load paths for utopia configurations. Add folders to this load path to load up other resources for utopia.
35 36 37 38 |
# File 'lib/utopia_data/application.rb', line 35 def initialize self.resources ||= {} self.load_paths = [File.('app/resource', Rails.root)] end |