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