diff options
| author | Jack Nagel | 2013-01-09 17:36:17 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-01-09 17:36:17 -0600 |
| commit | 0949d952dc1a0eda002108b35c7fda38df7448fc (patch) | |
| tree | 812d1fdf0cb3cc85f0508c2885dc5703a37baa7a /Library/Homebrew/test/test_string.rb | |
| parent | 05772f8ccfa16ca27e75fa22b7e590241a19b03e (diff) | |
| download | brew-0949d952dc1a0eda002108b35c7fda38df7448fc.tar.bz2 | |
Define Symbol#to_proc for Ruby 1.8.6
Ruby 1.8.6 doesn't have Symbol#to_proc, which allows things like
map(&:to_s) rather than map { |o| o.to_s }. 1.8.7 does, though, and
since it is used in a bunch of the superenv code we should attempt to
keep it compatible with 1.8.6.
Closes Homebrew/homebrew#16046.
Diffstat (limited to 'Library/Homebrew/test/test_string.rb')
0 files changed, 0 insertions, 0 deletions
