Fixed OrderedHash#delete
This commit is contained in:
parent
d55d40c94f
commit
01dc72c834
|
@ -64,7 +64,7 @@ class OrderedHash < Hash
|
|||
end
|
||||
|
||||
def delete(key, &block)
|
||||
@ordered_keys.delete(key)
|
||||
@ordered_keys.delete(key) if @ordered_keys
|
||||
super
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue