pub fn parse_as_integer(yaml: &StrictYaml) -> Result<i64, DotfilesError>
Expand description
Parse a yaml element as Integer.
ยงErrors
- ErrorType::UnexpectedYamlTypeError if yaml is not of type Integer
pub fn parse_as_integer(yaml: &StrictYaml) -> Result<i64, DotfilesError>
Parse a yaml element as Integer.