summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/rdoc/code_objects.rb
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@rimspace.net>2011-02-17 18:18:44 -0800
committerPaul Berry <paul@puppetlabs.com>2011-02-21 14:08:37 -0800
commitb4813213afbe085b63317fbc2d1e37f799d21dd4 (patch)
tree4466c43493bfaebe51c0cbafa450fefc6e3004bd /lib/puppet/util/rdoc/code_objects.rb
parentcb4011561f1bf096daa56b9ce48e6d91b70e0188 (diff)
downloadpuppet-b4813213afbe085b63317fbc2d1e37f799d21dd4.tar.gz
puppet-b4813213afbe085b63317fbc2d1e37f799d21dd4.tar.xz
puppet-b4813213afbe085b63317fbc2d1e37f799d21dd4.zip
(#6337) Fix Ruby warning on 1.8.6 about "future compatibility"
Ruby 1.8.6 (but not later versions) warn about requiring parenthesis on some function calls; having one of those in our network rights checking means that we emit ... quite a few of these, and annoy anything that tracks our logs. By using the more standard form of raise we can avoid the warning entirely, and keep consistent code style across the file. Reviewed-By: Paul Berry <paul@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions