aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-01-07 13:19:48 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-01-07 13:19:48 -0800
commit0f9e65b71f9af30dac17689e81f4353e9fcac5b6 (patch)
tree60b61c07e519ae2078575ec07ef7a030e4857467 /activesupport/CHANGELOG
parent17da45b789e0a2581eae6e6b2b1ae8d2b98e0f5d (diff)
downloadrails-0f9e65b71f9af30dac17689e81f4353e9fcac5b6.tar.gz
rails-0f9e65b71f9af30dac17689e81f4353e9fcac5b6.tar.bz2
rails-0f9e65b71f9af30dac17689e81f4353e9fcac5b6.zip
Object#tap for Ruby < 1.8.7
Diffstat (limited to 'activesupport/CHANGELOG')
-rw-r--r--activesupport/CHANGELOG3
1 files changed, 3 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG
index 3c5f39d321..757cb1da04 100644
--- a/activesupport/CHANGELOG
+++ b/activesupport/CHANGELOG
@@ -1,5 +1,8 @@
*2.3.0 [Edge]*
+* Object#tap shim for Ruby < 1.8.7. Similar to Object#returning, tap yields self then returns self. [Jeremy Kemper]
+ array.select { ... }.tap(&:inspect).map { ... }
+
* TimeWithZone#- gives correct result with wrapped DateTime, and with DateTime argument [Geoff Buesing]
* Updated i18n gem to version 0.1.1 #1635 [Yaroslav Markin]