Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extract the string handling part to a method.
We know the structure passed in to the `construct` method will be a hash, so we don't need to test it all the time. The key value will be a symbol or string, so handle it with the special method
- Loading branch information
1 parent
77e5c12
commit d2d6e4a
Showing
1 changed file
with
15 additions
and
15 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