Superconf::AbstractOption
Non-generic base so options of different value types can share one
collection. Typed behavior lives in Option(T).
Constructors
Instance methods
The option an alias forwards to, or nil for a normal option. An alias
(see Superconf.register_alias) shares another option's value, type,
default, parsing and validation.
Whether the option still carries its registered default. Compared as the
rendered string so it works uniformly for any option type; a value set
equal to the default counts as "at default". The negated question ("was
this configured?") is Superconf.configured?.
Build an alias of this option, registered under key with its own
env/CLI/group surfaces but sharing this option's value. Used by
Superconf.register_alias.
Explicit env-var name, or nil to derive one lazily from the registry
prefix + key (see Superconf.env_name). Lazy so the prefix can be set
after options are registered (e.g. by the app, across libraries).
Key with its leading <group>. stripped, for grouped dumps. A key
without a dot is returned unchanged.
Parse str and store it, honoring precedence (see Source).