+1 to the patch. Note I added some tests and send those to the list too and this for ticket #4860.
On Tue, Sep 28, 2010 at 8:29 AM, James Turnbull <[email protected]> wrote: > From: Simon Effenberg <[email protected]> > > > Signed-off-by: James Turnbull <[email protected]> > --- > lib/puppet/util/rdoc/parser.rb | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/lib/puppet/util/rdoc/parser.rb b/lib/puppet/util/rdoc/parser.rb > index 8414843..f9beced 100644 > --- a/lib/puppet/util/rdoc/parser.rb > +++ b/lib/puppet/util/rdoc/parser.rb > @@ -208,7 +208,7 @@ class Parser > Puppet.debug "rdoc: found resource: #{type}[#{title}]" > > param = [] > - stmt.params.children.each do |p| > + stmt.parameters.children.each do |p| > res = {} > res["name"] = p.param > res["value"] = "#{p.value.to_s}" unless p.value.nil? > -- > 1.7.2.2 > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
