summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/load_yaml.rb
diff options
context:
space:
mode:
authorKen Barber <ken@bob.sh>2011-07-29 23:09:30 +0100
committerKen Barber <ken@bob.sh>2011-07-29 23:09:30 +0100
commita1cae426f1d6b8f2c19184ec8aac3ebc47d97744 (patch)
tree2d40ab0b183ae285560569e625ee41df79e39784 /lib/puppet/parser/functions/load_yaml.rb
parent19313b43ea04066a88a0b78e83650ac52785e2e9 (diff)
downloadpuppet-stdlib-a1cae426f1d6b8f2c19184ec8aac3ebc47d97744.tar.gz
puppet-stdlib-a1cae426f1d6b8f2c19184ec8aac3ebc47d97744.tar.bz2
(#3) Provide documentation for remaining functions.
Diffstat (limited to 'lib/puppet/parser/functions/load_yaml.rb')
-rw-r--r--lib/puppet/parser/functions/load_yaml.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/parser/functions/load_yaml.rb b/lib/puppet/parser/functions/load_yaml.rb
index 1bc2f36..2683277 100644
--- a/lib/puppet/parser/functions/load_yaml.rb
+++ b/lib/puppet/parser/functions/load_yaml.rb
@@ -4,6 +4,8 @@
module Puppet::Parser::Functions
newfunction(:load_yaml, :type => :rvalue, :doc => <<-EOS
+This function accepts YAML as a string and converts it into the correct
+Puppet structure.
EOS
) do |arguments|