summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/dirname.rb
diff options
context:
space:
mode:
authorRyan McKern <ryan.mckern@puppetlabs.com>2014-05-13 15:01:44 -0700
committerRyan McKern <ryan.mckern@puppetlabs.com>2014-05-13 15:46:40 -0700
commit42743614cb13541a2973f28251b1f79a33019d77 (patch)
treef1a41270500152f5a07491058b11f3b04b2788c7 /lib/puppet/parser/functions/dirname.rb
parent62e8c1d76902e6f22cb9f7b3abd43e757b4130a3 (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 'lib/puppet/parser/functions/dirname.rb')
0 files changed, 0 insertions, 0 deletions