diff options
author | Jeff McCune <jeff@puppetlabs.com> | 2012-11-19 11:23:50 -0500 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2012-11-19 11:23:50 -0500 |
commit | 326a13908ba8a725a85330d040e3c5cc0b211524 (patch) | |
tree | 7de72ae30323b32c529b9a1e34e27277ca1afe85 /lib/puppet/parser/functions/squeeze.rb | |
parent | f40bb1e28808f346ce44c9197549681165fe233f (diff) | |
parent | 88acc523931272deb57eafbb7021f8d32248d68e (diff) | |
download | puppet-stdlib-326a13908ba8a725a85330d040e3c5cc0b211524.tar.gz puppet-stdlib-326a13908ba8a725a85330d040e3c5cc0b211524.tar.bz2 |
Merge branch 'jfryman-master'
* jfryman-master:
puppet-lint cleanup
Diffstat (limited to 'lib/puppet/parser/functions/squeeze.rb')
-rw-r--r-- | lib/puppet/parser/functions/squeeze.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/parser/functions/squeeze.rb b/lib/puppet/parser/functions/squeeze.rb index 65c174a..81fadfd 100644 --- a/lib/puppet/parser/functions/squeeze.rb +++ b/lib/puppet/parser/functions/squeeze.rb @@ -14,9 +14,9 @@ Returns a new string where runs of the same character that occur in this set are end item = arguments[0] - squeezeval = arguments[1] + squeezeval = arguments[1] - if item.is_a?(Array) then + if item.is_a?(Array) then if squeezeval then item.collect { |i| i.squeeze(squeezeval) } else |