module

AptLarder::Config::Float64Converter

Accepts both YAML integers (0) and floats (0.5) for Float64 fields. YAML parses bare 0 as an integer, which Crystal's YAML::Serializable rejects for Float64 properties without this converter.

Class methods