mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
document HashWithIndifferentAccess#extractable_options?
This commit is contained in:
parent
a95d7d86c8
commit
1d3f833a54
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue