Module: Gloo

Defined in:
lib/gloo/core/it.rb,
lib/gloo.rb,
lib/gloo/app/log.rb,
lib/gloo/core/op.rb,
lib/gloo/core/pn.rb,
lib/gloo/app/args.rb,
lib/gloo/app/info.rb,
lib/gloo/app/mode.rb,
lib/gloo/core/obj.rb,
lib/gloo/verbs/if.rb,
lib/gloo/app/table.rb,
lib/gloo/core/heap.rb,
lib/gloo/core/here.rb,
lib/gloo/core/verb.rb,
lib/gloo/verbs/cls.rb,
lib/gloo/verbs/log.rb,
lib/gloo/verbs/put.rb,
lib/gloo/verbs/run.rb,
lib/gloo/app/engine.rb,
lib/gloo/app/prompt.rb,
lib/gloo/core/baseo.rb,
lib/gloo/core/error.rb,
lib/gloo/exec/stack.rb,
lib/gloo/verbs/beep.rb,
lib/gloo/verbs/help.rb,
lib/gloo/verbs/list.rb,
lib/gloo/verbs/load.rb,
lib/gloo/verbs/move.rb,
lib/gloo/verbs/quit.rb,
lib/gloo/verbs/save.rb,
lib/gloo/verbs/show.rb,
lib/gloo/verbs/tell.rb,
lib/gloo/verbs/wait.rb,
lib/gloo/core/parser.rb,
lib/gloo/core/tokens.rb,
lib/gloo/exec/action.rb,
lib/gloo/exec/runner.rb,
lib/gloo/exec/script.rb,
lib/gloo/expr/op_div.rb,
lib/gloo/utils/stats.rb,
lib/gloo/utils/words.rb,
lib/gloo/verbs/alert.rb,
lib/gloo/verbs/break.rb,
lib/gloo/verbs/check.rb,
lib/gloo/verbs/files.rb,
lib/gloo/app/platform.rb,
lib/gloo/app/settings.rb,
lib/gloo/core/factory.rb,
lib/gloo/core/literal.rb,
lib/gloo/expr/op_mult.rb,
lib/gloo/expr/op_plus.rb,
lib/gloo/objs/data/pg.rb,
lib/gloo/objs/dev/git.rb,
lib/gloo/objs/dt/date.rb,
lib/gloo/objs/dt/time.rb,
lib/gloo/objs/ror/erb.rb,
lib/gloo/objs/web/uri.rb,
lib/gloo/utils/format.rb,
lib/gloo/verbs/create.rb,
lib/gloo/verbs/invoke.rb,
lib/gloo/verbs/reload.rb,
lib/gloo/verbs/unless.rb,
lib/gloo/verbs/unload.rb,
lib/gloo/exec/dispatch.rb,
lib/gloo/exec/exec_env.rb,
lib/gloo/expr/l_string.rb,
lib/gloo/expr/op_minus.rb,
lib/gloo/objs/cli/menu.rb,
lib/gloo/objs/ror/eval.rb,
lib/gloo/objs/web/json.rb,
lib/gloo/verbs/context.rb,
lib/gloo/verbs/execute.rb,
lib/gloo/verbs/version.rb,
lib/gloo/web_svr/asset.rb,
lib/gloo/expr/l_boolean.rb,
lib/gloo/expr/l_decimal.rb,
lib/gloo/expr/l_integer.rb,
lib/gloo/objs/ctrl/each.rb,
lib/gloo/objs/dev/stats.rb,
lib/gloo/objs/web/slack.rb,
lib/gloo/objs/web/teams.rb,
lib/gloo/verbs/redirect.rb,
lib/gloo/web_svr/config.rb,
lib/gloo/web_svr/server.rb,
lib/gloo/app/running_app.rb,
lib/gloo/core/dictionary.rb,
lib/gloo/core/obj_finder.rb,
lib/gloo/expr/expression.rb,
lib/gloo/objs/basic/text.rb,
lib/gloo/objs/cli/prompt.rb,
lib/gloo/objs/cli/select.rb,
lib/gloo/objs/data/mysql.rb,
lib/gloo/objs/data/query.rb,
lib/gloo/objs/data/table.rb,
lib/gloo/web_svr/handler.rb,
lib/gloo/web_svr/request.rb,
lib/gloo/web_svr/session.rb,
lib/gloo/core/gloo_system.rb,
lib/gloo/objs/basic/alias.rb,
lib/gloo/objs/cli/confirm.rb,
lib/gloo/objs/ctrl/repeat.rb,
lib/gloo/objs/data/sqlite.rb,
lib/gloo/objs/dt/datetime.rb,
lib/gloo/objs/web_svr/svr.rb,
lib/gloo/web_svr/response.rb,
lib/gloo/convert/converter.rb,
lib/gloo/objs/basic/script.rb,
lib/gloo/objs/basic/string.rb,
lib/gloo/objs/cli/colorize.rb,
lib/gloo/objs/web/http_get.rb,
lib/gloo/objs/web_svr/page.rb,
lib/gloo/persist/disc_mech.rb,
lib/gloo/app/engine_context.rb,
lib/gloo/core/event_manager.rb,
lib/gloo/objs/basic/boolean.rb,
lib/gloo/objs/basic/decimal.rb,
lib/gloo/objs/basic/integer.rb,
lib/gloo/objs/basic/untyped.rb,
lib/gloo/objs/cli/menu_item.rb,
lib/gloo/objs/ctrl/function.rb,
lib/gloo/objs/data/markdown.rb,
lib/gloo/objs/system/system.rb,
lib/gloo/objs/web/http_post.rb,
lib/gloo/persist/file_saver.rb,
lib/gloo/web_svr/web_method.rb,
lib/gloo/objs/ctrl/each_file.rb,
lib/gloo/objs/ctrl/each_line.rb,
lib/gloo/objs/ctrl/each_repo.rb,
lib/gloo/objs/ctrl/each_word.rb,
lib/gloo/persist/file_loader.rb,
lib/gloo/persist/persist_man.rb,
lib/gloo/objs/basic/container.rb,
lib/gloo/objs/ctrl/each_child.rb,
lib/gloo/objs/security/cipher.rb,
lib/gloo/objs/system/ssh_exec.rb,
lib/gloo/objs/web_svr/element.rb,
lib/gloo/objs/web_svr/partial.rb,
lib/gloo/persist/file_storage.rb,
lib/gloo/persist/line_splitter.rb,
lib/gloo/web_svr/response_code.rb,
lib/gloo/convert/string_to_date.rb,
lib/gloo/convert/string_to_time.rb,
lib/gloo/objs/data/query_result.rb,
lib/gloo/objs/security/password.rb,
lib/gloo/web_svr/request_params.rb,
lib/gloo/web_svr/routing/router.rb,
lib/gloo/web_svr/table_renderer.rb,
lib/gloo/objs/system/file_handle.rb,
lib/gloo/convert/nilclass_to_date.rb,
lib/gloo/convert/nilclass_to_time.rb,
lib/gloo/convert/string_to_decimal.rb,
lib/gloo/convert/string_to_integer.rb,
lib/gloo/web_svr/embedded_renderer.rb,
lib/gloo/convert/nilclass_to_string.rb,
lib/gloo/convert/string_to_datetime.rb,
lib/gloo/convert/nilclass_to_integer.rb,
lib/gloo/objs/basic/string_generator.rb,
lib/gloo/web_svr/routing/show_routes.rb,
lib/gloo/convert/nilclass_to_datetime.rb,
lib/gloo/convert/trueclass_to_integer.rb,
lib/gloo/convert/falseclass_to_integer.rb,
lib/gloo/web_svr/routing/resource_router.rb

Overview

Author

Eric Crane ([email protected])

Copyright

Copyright © 2024 Eric Crane. All rights reserved.

A helper class for Resource routing.

Defined Under Namespace

Modules: App, Convert, Core, Exec, Expr, Objs, Persist, Utils, Verbs, WebSvr

Class Method Summary collapse

Class Method Details

.runObject



12
13
14
15
16
17
18
19
20
# File 'lib/gloo.rb', line 12

def self.run
  params = []
  ( params << '--cli' ) if ARGV.count.zero?

  platform = Gloo::App::Platform.new
  context = Gloo::App::EngineContext.new(
    params, platform, Gloo::App::Log, nil )
  Gloo::App::Engine.new( context ).start
end