From 1d3f833a5425487cae1e3073b52ebf285eff03f9 Mon Sep 17 00:00:00 2001 From: Shawn Drost Date: Thu, 7 Jul 2011 03:52:48 -0700 Subject: document HashWithIndifferentAccess#extractable_options? --- activesupport/lib/active_support/hash_with_indifferent_access.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activesupport') 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 Array#extract_options! finds members of this class. def extractable_options? true end -- cgit v1.2.3