Fix syntax warning
Signed-off-by: mongodb <mongodb@10gen.com>
This commit is contained in:
parent
d679a17478
commit
c346ded1aa
@ -391,7 +391,7 @@ class BSON
|
||||
buf.put_double(val)
|
||||
else
|
||||
if val > 2**32 / 2 - 1 or val < -2**32 / 2
|
||||
raise RangeError.new "MongoDB can only handle 4-byte ints - try converting to a double before saving"
|
||||
raise RangeError.new("MongoDB can only handle 4-byte ints - try converting to a double before saving")
|
||||
end
|
||||
buf.put_int(val)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user