diff options
author | Matt Robinson <matt@puppetlabs.com> | 2011-03-22 22:31:47 -0700 |
---|---|---|
committer | Matt Robinson <matt@puppetlabs.com> | 2011-03-23 13:10:38 -0700 |
commit | 341654ea16e662e31bb97ca260397939ac34692e (patch) | |
tree | eaeab4cb8a3dceacca7a7c6cd761a2c39a669f98 /lib/puppet/util/rdoc/parser.rb | |
parent | 3d43d866d6629863d91861f29638c1a31750ba57 (diff) | |
download | puppet-341654ea16e662e31bb97ca260397939ac34692e.tar.gz puppet-341654ea16e662e31bb97ca260397939ac34692e.tar.xz puppet-341654ea16e662e31bb97ca260397939ac34692e.zip |
(#6820) Fix invalid next that should be a return
The old code under ruby 1.8.7 if it was hit would result in:
unexpected next (LocalJumpError)
In Ruby 1.9 it doesn't even give you the chance to run the code since
you get:
compile error (SyntaxError)
The code isn't tested so the intented behavior isn't clear, but in
context this looks like the right change.
Reviewed-by: Jacob Helwig <jacob@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/rdoc/parser.rb')
0 files changed, 0 insertions, 0 deletions