Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-15 | (MODULES-905) Narrow the confinement in bool2str | Ryan McKern | |
Previously, bool2str() accepted a broad array of boolean values and bare strings, without any attempt to validate that the strings in any way resembled "true" or "false" (or any of the other values bool2num() accepts). This commit narrows the input confinement to TrueClass and FalseClass, which means that bool2str() will only interpolate strict boolean values now. | |||
2014-05-13 | (MODULES-905) Add bool2str() and camelcase() for string manipulation | Ryan McKern | |
Python likes to have its constants Capitalized, and the capitalize function only understands strings... so I shave a yak. bool2str will convert a boolean to its equivalent string value, and camelcase extends on uppercase & downcase to convert an underscore delimited string into a camelcased string. |