This commit is contained in:
Jim Menard 2009-01-12 08:45:21 -05:00
parent 5665f0871c
commit 73b7d5e83a
1 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,8 @@ class BSON
serialize_symbol_element(@buf, k, v)
when BINARY
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
raise "unimplemented type #{type}"
else