Module: SubZero::Main
Instance Attribute Summary collapse
-
#cli_args ⇒ Object
Returns the value of attribute cli_args.
-
#config ⇒ Object
Returns the value of attribute config.
Instance Method Summary collapse
Methods included from Common
Methods included from Environment
Instance Attribute Details
#cli_args ⇒ Object
Returns the value of attribute cli_args.
8 9 10 |
# File 'lib/sub_zero/main.rb', line 8 def cli_args @cli_args end |
#config ⇒ Object
Returns the value of attribute config.
8 9 10 |
# File 'lib/sub_zero/main.rb', line 8 def config @config end |
Instance Method Details
#boot(cli_args) ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/sub_zero/main.rb', line 10 def boot cli_args log "booting..." log "\tloading service.yml" @config = load_config log "\tparsing CLI args" @cli_args = parse_cli_args cli_args self end |