Project

General

Profile

Bug #11109 » bug.rb

yangzhijava (Jeffrey Yang), 04/30/2015 02:58 PM

 
#!/usr/local/bin/ruby
#

require 'stringio'
require 'bson'

sio = StringIO.new 1.to_bson
puts BSON::Int64.from_bson sio
puts BSON::Int32.from_bson sio
(2-2/3)