Merged pull request #38 from iwarshak/master.
fix bug in OrderedHash that prevents YAML.load
This commit is contained in:
commit
eef9abfbdf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue