Created
June 5, 2011 14:52
-
-
Save mariovisic/1009015 to your computer and use it in GitHub Desktop.
Random IP Addresses
This file contains hidden or 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
| @addresses = [] | |
| 10000.times do | |
| @addresses.push Faker::Internet::ip_v4_address | |
| end | |
| @addresses == @addresses.uniq # => true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment