implement the yaml_initialize method

This commit is contained in:
Ian Warshak 2011-04-28 17:32:32 -05:00
parent 19b6b61e58
commit 7c0843f29c
1 changed files with 6 additions and 1 deletions

View File

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