summaryrefslogtreecommitdiffstats
path: root/install.rb
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2010-07-09 18:06:56 -0700
committerMarkus Roberts <Markus@reality.com>2010-07-09 18:06:56 -0700
commitc3e2353afb7fc2fb12efd1eb2bc5c342c792fb3b (patch)
tree4d328a1598165cf7e40363ef995b180322df168a /install.rb
parent42a539061293f8e745a9dc5b97b4415b6a275e04 (diff)
downloadpuppet-c3e2353afb7fc2fb12efd1eb2bc5c342c792fb3b.tar.gz
puppet-c3e2353afb7fc2fb12efd1eb2bc5c342c792fb3b.tar.xz
puppet-c3e2353afb7fc2fb12efd1eb2bc5c342c792fb3b.zip
Code smell: Use &&= for dependent initialization
Replaced 6 occurances of ([$@]?\w+) += +(.*) +(if +\1|unless +\1.nil\?)$ with \1 &&= \2 3 Examples: The code: end becomes: end The code: becomes: The code: res becomes: res
Diffstat (limited to 'install.rb')
0 files changed, 0 insertions, 0 deletions