Class: Gloo::App::Mode
- Inherits:
-
Object
- Object
- Gloo::App::Mode
- Defined in:
- lib/gloo/app/mode.rb
Constant Summary collapse
- EMBED =
Run as embedded script processor
:embed
- APP =
Running in APP mode.
:app
- CLI =
Run in interactive (CLI) mode
:cli
- SCRIPT =
Run a script
:script
- VERSION =
Show version information
:version
- HELP =
Show the help screen
:help
- TEST =
Running in Unit Test mode.
:test
Class Method Summary collapse
-
.default_mode ⇒ Object
Get the default mode.
Class Method Details
.default_mode ⇒ Object
Get the default mode.
22 23 24 |
# File 'lib/gloo/app/mode.rb', line 22 def self.default_mode return EMBED end |