diff --git a/lib/puppet/util/reference.rb b/lib/puppet/util/reference.rb
>> index 99458aa..ab201cd 100644
>> --- a/lib/puppet/util/reference.rb
>> +++ b/lib/puppet/util/reference.rb
>> @@ -32,7 +32,6 @@ class Puppet::Util::Reference
>> section = reference(name) or raise "Could not find section
>> #{name}"
>> depth = section.depth if section.depth < depth
>> end
>> - text = "* TOC text.\n{:toc}\n\n"
>> end
>>
>>
>>
> I suspect the whole file needs refactoring - I just noted some Trac
> references in there which I thought had all been removed.
>
If that method is used the change should be:
- text = "* TOC text.\n{:toc}\n\n"
+ ""
so that it will still return a string, but (as you could probably tell from
my notes) I strongly suspect that it isn't used and the whole method should
just be removed. Leaving it in and changing the return value from an
unwanted string to an unknown array isn't good though.
-- M
-----------------------------------------------------------
When in trouble or in doubt, run in circles,
scream and shout. -- 1920's parody of the
maritime general prudential rule
------------------------------------------------------------
--
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.