diff options
| author | Eero Saynatkari | 2010-03-06 03:11:30 +0200 |
|---|---|---|
| committer | Max Howell | 2010-03-13 14:36:47 +0000 |
| commit | f56e96dfffe6748743bdbb1c0c8767143e924fae (patch) | |
| tree | 2a1910f65315eebf3704f74a61440cc62444c801 /Library/Homebrew/extend/string.rb | |
| parent | 01eddfea0043e755f859e17c298179dcf5ec68fa (diff) | |
| download | brew-f56e96dfffe6748743bdbb1c0c8767143e924fae.tar.bz2 | |
1.9 fix, String is not an Enumerable.
* Removed use of String altogether since all use cases
are Arrays currently. YAGNI.
* #max_by would have been more elegant, but this way we
can support 1.8.6.
Signed-off-by: Max Howell <max@methylblue.com>
I made the diff less gratuitous. Don't bloat diffs to meet personal coding style preferences :P
Closes Homebrew/homebrew#896
Diffstat (limited to 'Library/Homebrew/extend/string.rb')
0 files changed, 0 insertions, 0 deletions
