Fixed OrderedHash#delete

This commit is contained in:
Jim Menard 2009-01-26 13:30:42 -05:00
parent d55d40c94f
commit 01dc72c834
1 changed files with 1 additions and 1 deletions

View File

@ -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