1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/lib/active_support/multibyte
Santiago Pastorino a0613ad8a9 Revert "Use flat_map { } instead of map {}.flatten"
This reverts commit abf8de8551.
We should take a deeper look to those cases flat_map doesn't do deep
flattening.

irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten
=> [1, 3, 1, 2]
irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i}
=> [[1, 3], [1, 2]]
2012-10-05 12:07:16 -03:00
..
chars.rb update AS/log_subscriber and AS/multibyte docs [ci skip] 2012-09-14 22:54:39 -05:00
unicode.rb Revert "Use flat_map { } instead of map {}.flatten" 2012-10-05 12:07:16 -03:00