enum
Amber::Configuration::SectionField::Kind
Defined in:
amber/configuration/section_field.crEnum Members
-
Text =
0 -
Flag =
1 -
A
Boolfield: read like the built-in boolean overrides. -
Decimal =
2 -
A
Floatfield: read like the built-in float overrides. -
Section =
3 -
A nested
YAML::Serializablesection. -
Mapping =
4 -
A
Hashfield: each key it already holds takes its own variable. -
Other =
5 -
Any other field: read as a plain YAML scalar.
Instance Method Summary
-
#decimal?
Returns
trueif this enum value equalsDecimal -
#flag?
Returns
trueif this enum value equalsFlag -
#mapping?
Returns
trueif this enum value equalsMapping -
#other?
Returns
trueif this enum value equalsOther -
#section?
Returns
trueif this enum value equalsSection -
#text?
Returns
trueif this enum value equalsText