-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows users to coerce any TOML value into the type they expect it to be. The test go over all variants except for Toml::Array since I couldn't figure out how to write one (arr = {key = "value"} ought to work, but doesn't). I also wrote docstrings for all these methods. I tended toward the language used in the TOML spec, though I fear that it might be confusing since the API uses language that contradicts the spec.
- Loading branch information
1 parent
7d40e5e
commit 338a187
Showing
2 changed files
with
69 additions
and
0 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
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