This commit is contained in:
Jim Menard 2009-01-12 08:45:21 -05:00
parent 5665f0871c
commit 73b7d5e83a

View File

@ -91,7 +91,8 @@ class BSON
serialize_symbol_element(@buf, k, v) serialize_symbol_element(@buf, k, v)
when BINARY when BINARY
serialize_binary_element(@buf, k, v) serialize_binary_element(@buf, k, v)
when UNDEFINED, CODE_W_SCOPE # UNDEFINED should never happen when UNDEFINED, CODE_W_SCOPE
# UNDEFINED should never happen because Ruby has no UNDEFINED type
# TODO # TODO
raise "unimplemented type #{type}" raise "unimplemented type #{type}"
else else