diff options
author | Joshua Harlan Lifton <lifton@puppetlabs.com> | 2012-11-19 19:23:27 -0800 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2012-11-20 16:16:03 -0500 |
commit | ee0f2b307d79f145d875d02d98e570fd3e7f156c (patch) | |
tree | 5b8e0e597e1fe77d1048a0bb98ef150235d98b6e /spec/unit/puppet/type/anchor_spec.rb | |
parent | 6c36b494a0f0e3001a46da9951fd52f343008042 (diff) |
Add join_keys_to_values function
This commit adds a function that joins each of a hash's keys with that
key's corresponding value, separated by a separator string. The
arguments are a hash and separator string. The return value is an
array of joined key/value pairs.
Diffstat (limited to 'spec/unit/puppet/type/anchor_spec.rb')
0 files changed, 0 insertions, 0 deletions