Merged pull request #38 from iwarshak/master.

fix bug in OrderedHash that prevents YAML.load
This commit is contained in:
Kyle Banker 2011-04-29 08:27:59 -07:00
commit eef9abfbdf
1 changed files with 6 additions and 1 deletions

View File

@ -57,8 +57,13 @@ module BSON
end
def initialize(*a, &b)
super
@ordered_keys = []
super
end
def yaml_initialize(tag, val)
@ordered_keys = []
super
end
def keys