Class: Rays::Core

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/rays/core.rb

Instance Method Summary collapse

Constructor Details

#initializeCore

Returns a new instance of Core.



30
31
32
33
34
35
36
37
38
39
40
41
42
# File 'lib/rays/core.rb', line 30

def initialize
  load_third_party_dependencies
  load_system_wide_dependencies
  load_external_loaders
  load_system_wide_utilities
  load_servers
  load_services

  configure

  load_workers
  load_models
end

Instance Method Details

#reloadObject



44
45
46
# File 'lib/rays/core.rb', line 44

def reload
  $rays_config = Rays::Configuration.new
end