abstract class EnvConfig
- EnvConfig
- Reference
- Object
Defined in:
env-config.crConstant Summary
-
FLAG =
/\A(?:true|false|on|off|1|0|enabled?|disabled?|yes|no)\z/i
-
Log =
::Log.for("env-config")
-
NOT_BLANK =
/\S/
-
NUMBER =
/^[0-9]+$/
-
predefined matchers:
Class Method Summary
- .pretty_regexp(regexp : Regex) : String
- .pretty_value(value)
-
.read_env_variable(key, **options)
ameba:disable Metrics/CyclomaticComplexity
- .to_bool(flag : Bool) : Bool
- .to_bool(flag : String) : Bool