summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/loadyaml.rb
diff options
context:
space:
mode:
authornfagerlund <nick.fagerlund@gmail.com>2011-08-17 15:53:27 -0700
committernfagerlund <nick.fagerlund@gmail.com>2011-08-18 12:39:04 -0700
commit4b5dfcc733cf5c56095313fcb16e155886ac9b4d (patch)
treef16152e15b5bcdf8e341f933fadc3ca3581cb969 /lib/puppet/parser/functions/loadyaml.rb
parent400b91ab02428c6a51886f31cbb12b9d4852b6e9 (diff)
downloadpuppet-stdlib-4b5dfcc733cf5c56095313fcb16e155886ac9b4d.tar.gz
puppet-stdlib-4b5dfcc733cf5c56095313fcb16e155886ac9b4d.tar.bz2
Docs: Copyedit function doc strings
This commit makes several minor consistency and wording edits to the doc strings of the stdlib functions.
Diffstat (limited to 'lib/puppet/parser/functions/loadyaml.rb')
-rw-r--r--lib/puppet/parser/functions/loadyaml.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/parser/functions/loadyaml.rb b/lib/puppet/parser/functions/loadyaml.rb
index 4ccc95b..10c4005 100644
--- a/lib/puppet/parser/functions/loadyaml.rb
+++ b/lib/puppet/parser/functions/loadyaml.rb
@@ -1,8 +1,8 @@
module Puppet::Parser::Functions
newfunction(:loadyaml, :type => :rvalue, :doc => <<-'ENDHEREDOC') do |args|
- Load a YAML file and return the data if it contains an Array, String, or Hash
- as a Puppet variable.
+ Load a YAML file containing an array, string, or hash, and return the data
+ in the corresponding native data type.
For example: