diff options
author | Daniel Pittman <daniel@puppetlabs.com> | 2011-04-05 11:36:18 -0700 |
---|---|---|
committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-04-06 16:36:58 -0700 |
commit | 0b97bd0df57dd6732db5f52fc7360f61e74dba2e (patch) | |
tree | c36647744c2b2aabb9cc25276ca13b8511f09061 /lib/puppet/util/rdoc/code_objects.rb | |
parent | f732d69552969698fdae7905284f01682bfd3441 (diff) | |
download | puppet-0b97bd0df57dd6732db5f52fc7360f61e74dba2e.tar.gz puppet-0b97bd0df57dd6732db5f52fc7360f61e74dba2e.tar.xz puppet-0b97bd0df57dd6732db5f52fc7360f61e74dba2e.zip |
(#6972) Clean up OptParse name extraction a little.
During testing, an obvious cleanup showed up for the name extraction here, so
we implement it. This extends the regexp to better extract the data we want
rather than hacking it up post-match and having to do extra validation to make
sure it actually worked.
Reviewed-By: Dan Bode <dan@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions