Method: Vedeu::Config::API#run_once!
- Defined in:
- lib/vedeu/configuration/api.rb
#run_once!(value = true) ⇒ Boolean Also known as: run_once
Sets boolean to run the Vedeu main application loop once. In effect, using ‘run_once!` or setting `run_once` to true will allow Vedeu to initialize, run any client application code, cleanup, then terminate.
Vedeu.configure do
run_once!
# ...
end
106 107 108 |
# File 'lib/vedeu/configuration/api.rb', line 106 def run_once!(value = true) [:once] = value end |