aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/python_helper.rb
diff options
context:
space:
mode:
authorMisty De Meo2013-10-26 21:48:14 -0700
committerMisty De Meo2013-10-26 21:51:30 -0700
commit71fcefc6137fd8c67952e114a8485bfae599ea1b (patch)
treed34c15f1921a190503f1b1d52613bdcfa296b11a /Library/Homebrew/python_helper.rb
parent91dfb608054aeb373c47643eebfa60ba0058946f (diff)
downloadbrew-71fcefc6137fd8c67952e114a8485bfae599ea1b.tar.bz2
brew-unpack: use #length == 1, not #one?
Array#one? wasn't yet defined in Ruby 1.8.6. In this case the block form isn't being used, so Array.length == 1 is a simple replacement. Fixes mistydemeo/tigerbrew#123.
Diffstat (limited to 'Library/Homebrew/python_helper.rb')
0 files changed, 0 insertions, 0 deletions