Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DD: update the rendering of the 'named' line
the template's rendering of a `named` line was incorrectly wrapping strings with underscores in single quotes, whereas the quotes would only be necessary for strings with hyphens. the regex detection of a hyphen also duplicates logic found in the `snake_name` method. Rather than essentially checking to see that `snake_name` would have performed a transformation of the string by duplicating the regex of the transformation, just compare `@name` and `@snake_name` for equality.
- Loading branch information