Downcase and validate genclass names as openvox does #21
Reference in New Issue
Block a user
Delete Branch "benvin/gentypes-guard-attrnames"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
genclass downcases every type, attribute and provider name and const_set raises when the constant built from it is invalid. w10k used names verbatim, so
newparam(:NAME)renderedNAME,newparam(:a)plusnewparam(:A)loaded, andnewproperty(:_b)generated where puppet fails.^[a-z][a-z0-9_]*$, parameters and providers any[a-z0-9_]tail (9p,_p)