diff options
author | Ryan McKern <ryan.mckern@puppetlabs.com> | 2014-05-13 15:01:44 -0700 |
---|---|---|
committer | Ryan McKern <ryan.mckern@puppetlabs.com> | 2014-05-13 15:46:40 -0700 |
commit | 42743614cb13541a2973f28251b1f79a33019d77 (patch) | |
tree | f1a41270500152f5a07491058b11f3b04b2788c7 /spec/unit/puppet/parser/functions/chop_spec.rb | |
parent | 62e8c1d76902e6f22cb9f7b3abd43e757b4130a3 (diff) |
(MODULES-905) Add bool2str() and camelcase() for string manipulation
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.
Diffstat (limited to 'spec/unit/puppet/parser/functions/chop_spec.rb')
0 files changed, 0 insertions, 0 deletions