fix AS::OrderedOptions documentation [ci skip]
This commit is contained in:
parent
744b8e0f35
commit
c1c9f1c7b9
|
@ -1,3 +1,4 @@
|
|||
module ActiveSupport #:nodoc:
|
||||
# Usually key value pairs are handled something like this:
|
||||
#
|
||||
# h = {}
|
||||
|
@ -13,8 +14,6 @@
|
|||
# h.girl = 'Mary'
|
||||
# h.boy # => 'John'
|
||||
# h.girl # => 'Mary'
|
||||
#
|
||||
module ActiveSupport #:nodoc:
|
||||
class OrderedOptions < Hash
|
||||
alias_method :_get, :[] # preserve the original #[] method
|
||||
protected :_get # make it protected
|
||||
|
|
Loading…
Reference in New Issue