Created
September 19, 2011 18:55
-
-
Save jpsilvashy/1227270 to your computer and use it in GitHub Desktop.
Generate 20 BSON Ids
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
require 'bson' | |
20.times do | |
puts BSON::ObjectId.new | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment