Function parse_as_string_array

Source
pub fn parse_as_string_array(
    yaml: &StrictYaml,
) -> Result<Vec<String>, DotfilesError>
Expand description

Gets a native Vec<String> from a StrictYaml::Array. It errors out if the passed yaml is not an array or if not all the items in the array are plain StrictYaml Strings