diff options
author | Corey Osman <corey@logicminds.biz> | 2015-09-03 10:31:51 -0700 |
---|---|---|
committer | Corey Osman <corey@logicminds.biz> | 2015-09-04 08:09:26 -0700 |
commit | f2f2db4795fc0e3b9387e1e6c003e8e75efde903 (patch) | |
tree | 683943b340206622911d3108f50b1e7f25cc4035 /spec/acceptance/parseyaml_spec.rb | |
parent | 6a1afae97e0451590c833acdd79fd730f49137b9 (diff) |
accept any case of boolean strings
* previously the str2bool function did not accept 'TRUE' as a bool
type. This causes the function to now accept TRUE, FALSE strings
as a boolean type in order to be converted to a proper boolean.
* This would also cause Y,N, YES, NO to be accepted as boolean types
as well.
Diffstat (limited to 'spec/acceptance/parseyaml_spec.rb')
0 files changed, 0 insertions, 0 deletions