aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-05-23 11:38:07 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-05-23 11:38:23 -0700
commitcf985d1a4e7da2ba52f968aceee650bbdda6287e (patch)
tree40bc3a2226f56ae75961c6646c86770171e8cf68 /activesupport/lib/active_support
parent989296ff09ed879453897e0f223608cc0b60ad9f (diff)
downloadrails-cf985d1a4e7da2ba52f968aceee650bbdda6287e.tar.gz
rails-cf985d1a4e7da2ba52f968aceee650bbdda6287e.tar.bz2
rails-cf985d1a4e7da2ba52f968aceee650bbdda6287e.zip
add a branch to eliminate multiple nil checks
if we add an else conditional to the `presence` check, we can eliminate the second `||` branch in the caller
Diffstat (limited to 'activesupport/lib/active_support')
0 files changed, 0 insertions, 0 deletions