Guest User

Untitled

a guest
May 20th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. require 'ipaddr'
  2.  
  3. a = IPAddr.new('192.168.1.1')
  4. b = IPAddr.new('192.168.1.100')
  5. c = [a, b]
  6. puts c.sort
Add Comment
Please, Sign In to add comment