Permalink
Browse files

document HashWithIndifferentAccess#extractable_options?

  • Loading branch information...
1 parent 4f36daf commit a9f4d7b4d22dea357c7217e3f0d8c5c0d3568233 @shawndrost shawndrost committed with fxn Jul 7, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 activesupport/lib/active_support/hash_with_indifferent_access.rb
View
2 activesupport/lib/active_support/hash_with_indifferent_access.rb
@@ -6,6 +6,8 @@
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

0 comments on commit a9f4d7b

Please sign in to comment.