summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/functions/regsubst.rb
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2009-05-03 19:05:03 +1000
committerJames Turnbull <james@lovedthanlost.net>2009-05-03 19:05:03 +1000
commitdf3a8f67193c8c6089a84ea6023c84c52b3d3205 (patch)
tree152f52895b1367d135ee1cc0e23a15b1bf7fd6f2 /lib/puppet/parser/functions/regsubst.rb
parent305fa80785f89e8015810531e09854bd23d1c85e (diff)
downloadpuppet-df3a8f67193c8c6089a84ea6023c84c52b3d3205.tar.gz
puppet-df3a8f67193c8c6089a84ea6023c84c52b3d3205.tar.xz
puppet-df3a8f67193c8c6089a84ea6023c84c52b3d3205.zip
Minor fixes to function RST documentation
Diffstat (limited to 'lib/puppet/parser/functions/regsubst.rb')
-rw-r--r--lib/puppet/parser/functions/regsubst.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/puppet/parser/functions/regsubst.rb b/lib/puppet/parser/functions/regsubst.rb
index c79983351..2bd39200d 100644
--- a/lib/puppet/parser/functions/regsubst.rb
+++ b/lib/puppet/parser/functions/regsubst.rb
@@ -1,7 +1,9 @@
module Puppet::Parser::Functions
newfunction(:regsubst, :type => :rvalue,
:doc => "
- Perform regexp replacement on a string. Parameters (in order):
+ Perform regexp replacement on a string.
+
+- **Parameters** (in order):
:str: The string to operate on.
@@ -23,7 +25,7 @@ module Puppet::Parser::Functions
- **S** SJIS
- **U** UTF-8
-**Examples**
+- **Examples**
Get the third octet from the node's IP address::