-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor auto format code to use less branching
This reintroduces the old `case` based type checking into `to_xml` and handles `auto_format` in a single method and without repeatedly checking the `@auto_format` option and format pattern.
- Loading branch information
1 parent
93035f7
commit 7aed109
Showing
1 changed file
with
21 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters