diff options
author | Hunter Haugen <hunter@puppetlabs.com> | 2014-02-05 15:06:09 -0800 |
---|---|---|
committer | Hunter Haugen <hunter@puppetlabs.com> | 2014-02-05 15:06:09 -0800 |
commit | dacdfaac7ffb4175cf112415886d92f24c12edc7 (patch) | |
tree | b0287e655c51232037602dcd112d3a4a8a53906c /lib/puppet/parser/functions/delete_values.rb | |
parent | 5b85e7c39f34b3004881517f886d7f06f8f2a440 (diff) | |
parent | a972e0645b31cf1eb89874cb08b403bdc0fad3a4 (diff) | |
download | puppet-stdlib-dacdfaac7ffb4175cf112415886d92f24c12edc7.tar.gz puppet-stdlib-dacdfaac7ffb4175cf112415886d92f24c12edc7.tar.bz2 |
Merge pull request #218 from mediatemple/remove_trailing_whitespace
Remove trailing whitespace
Diffstat (limited to 'lib/puppet/parser/functions/delete_values.rb')
-rw-r--r-- | lib/puppet/parser/functions/delete_values.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/delete_values.rb b/lib/puppet/parser/functions/delete_values.rb index ca8eef5..f6c8c0e 100644 --- a/lib/puppet/parser/functions/delete_values.rb +++ b/lib/puppet/parser/functions/delete_values.rb @@ -19,7 +19,7 @@ Would return: {'a'=>'A','c'=>'C','B'=>'D'} if not hash.is_a?(Hash) raise(TypeError, "delete_values(): First argument must be a Hash. " + \ - "Given an argument of class #{hash.class}.") + "Given an argument of class #{hash.class}.") end hash.dup.delete_if { |key, val| item == val } end |