aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorShawn Drost <sdrost@gmail.com>2011-07-07 03:52:48 -0700
committerShawn Drost <sdrost@gmail.com>2011-07-07 03:52:48 -0700
commit1d3f833a5425487cae1e3073b52ebf285eff03f9 (patch)
treedf50ed165f1da6ac1b7a8998121266a213a8c594 /activesupport
parenta95d7d86c833170ed7b3a7570951298965ecf60a (diff)
downloadrails-1d3f833a5425487cae1e3073b52ebf285eff03f9.tar.gz
rails-1d3f833a5425487cae1e3073b52ebf285eff03f9.tar.bz2
rails-1d3f833a5425487cae1e3073b52ebf285eff03f9.zip
document HashWithIndifferentAccess#extractable_options?
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