aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-07-09 12:20:24 +0200
committerXavier Noria <fxn@hashref.com>2011-07-09 12:20:24 +0200
commitb65bd01d555651e278099ec2fe5cf9c7db7608d9 (patch)
treeb275ac1809531f396e0edcb02776d849c81eff2f /activesupport
parent6917c65f048b3b5d09ac80271b0c94eae0120f0c (diff)
parent1835aba6f176950b3d5532895f90b8a92a23f476 (diff)
downloadrails-b65bd01d555651e278099ec2fe5cf9c7db7608d9.tar.gz
rails-b65bd01d555651e278099ec2fe5cf9c7db7608d9.tar.bz2
rails-b65bd01d555651e278099ec2fe5cf9c7db7608d9.zip
Merge branch 'master' of git://github.com/lifo/docrails
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/hash_with_indifferent_access.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/hash_with_indifferent_access.rb b/activesupport/lib/active_support/hash_with_indifferent_access.rb
index 15a3717ea1..59ffd24698 100644
--- a/activesupport/lib/active_support/hash_with_indifferent_access.rb
+++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb
@@ -6,6 +6,8 @@ require 'active_support/core_ext/hash/keys'
module ActiveSupport
class HashWithIndifferentAccess < Hash
+
+ # Always returns true, so that <tt>Array#extract_options!</tt> finds members of this class.
def extractable_options?
true
end