Class: Gloo::App::Mode

Inherits:
Object
  • Object
show all
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

Class Method Details

.default_modeObject

Get the default mode.



22
23
24
# File 'lib/gloo/app/mode.rb', line 22

def self.default_mode
  return EMBED
end