implement the yaml_initialize method
This commit is contained in:
parent
19b6b61e58
commit
7c0843f29c
|
@ -57,8 +57,13 @@ module BSON
|
||||||
end
|
end
|
||||||
|
|
||||||
def initialize(*a, &b)
|
def initialize(*a, &b)
|
||||||
super
|
|
||||||
@ordered_keys = []
|
@ordered_keys = []
|
||||||
|
super
|
||||||
|
end
|
||||||
|
|
||||||
|
def yaml_initialize(tag, val)
|
||||||
|
@ordered_keys = []
|
||||||
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
def keys
|
def keys
|
||||||
|
|
Loading…
Reference in New Issue