summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-10-28 17:13:31 -0500
committerJames Turnbull <james@lovedthanlost.net>2008-10-29 09:26:47 +1100
commitc906afd9e36017bba339ca50998e1651e54dbd0c (patch)
treee30ff346dc9aa60ebeae70eb7c36a8252e1bdbe2 /lib/puppet
parente542f8c6fbfb5ae5eead9d5744667bd6840159f7 (diff)
downloadpuppet-c906afd9e36017bba339ca50998e1651e54dbd0c.tar.gz
puppet-c906afd9e36017bba339ca50998e1651e54dbd0c.tar.xz
puppet-c906afd9e36017bba339ca50998e1651e54dbd0c.zip
Fixing #1667 - regex automatic value documentation is now readable.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/parameter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parameter.rb b/lib/puppet/parameter.rb
index f90193fc8..06dfe5b91 100644
--- a/lib/puppet/parameter.rb
+++ b/lib/puppet/parameter.rb
@@ -63,7 +63,7 @@ class Puppet::Parameter
end
unless regs.empty?
@doc += " Values can also match ``" +
- regs.join("``, ``") + "``."
+ regs.collect { |r| r.inspect }.join("``, ``") + "``."
end
end