class Greitspitz::Context
- Greitspitz::Context
- Reference
- Object
Overview
Providers details about the environment and which switches were used when starting the server.
Defined in:
greitspitz/context.crConstructors
Instance Method Summary
- #bind_address
-
#bind_address=(bind_address : String | Nil)
Allows
-
#log_level : String | Nil
Returns the log level for the process or Nil when it wasn't explicitly set.
-
#log_level=(log_level : String | Nil)
Returns the log level for the process or Nil when it wasn't explicitly set.
-
#run=(run : Bool)
Returns false when the CLI should not run any commands (eg.
-
#run? : Bool
Returns false when the CLI should not run any commands (eg.
- #storage_access_key_id
- #storage_client
- #storage_endpoint
- #storage_host
- #storage_secret_access_key
Constructor Detail
Instance Method Detail
def log_level : String | Nil
#
Returns the log level for the process or Nil when it wasn't explicitly set.
def log_level=(log_level : String | Nil)
#
Returns the log level for the process or Nil when it wasn't explicitly set.
def run=(run : Bool)
#
Returns false when the CLI should not run any commands (eg. when printing usage info).
def run? : Bool
#
Returns false when the CLI should not run any commands (eg. when printing usage info).