lib/vedeu/runtime/bootstrap.rb in vedeu-0.8.1 vs lib/vedeu/runtime/bootstrap.rb in vedeu-0.8.2
- old
+ new
@@ -47,11 +47,11 @@
private
# @return [String]
def base_path
- Vedeu::Configuration.base_path
+ Vedeu.config.base_path
end
# @note
# config/configuration.rb is already loaded so don't load it
# twice.
@@ -76,12 +76,12 @@
].each { |path| load(File.join(base_path, path)) }
end
# @return [void]
def client_initialize!
- if Vedeu::Configuration.root
- Vedeu.trigger(:_goto_, *Vedeu::Configuration.root)
+ if Vedeu.config.root
+ Vedeu.trigger(:_goto_, *Vedeu.config.root)
else
Vedeu.log_stderr(type: :debug, message: client_initialize_error)
end
@@ -111,10 +111,10 @@
# @return [void]
def configure_log!
Vedeu.configure do
log('/tmp/vedeu_bootstrap.log')
- end unless Vedeu::Configuration.log?
+ end unless Vedeu.config.log?
end
# @return [String]
def client_initialize_error
"Please update the 'root' setting in " \