Skip to content

Instantly share code, notes, and snippets.

@skeptomai
Created February 5, 2009 06:46
Show Gist options
  • Save skeptomai/58579 to your computer and use it in GitHub Desktop.
Save skeptomai/58579 to your computer and use it in GitHub Desktop.
{ :junglist => IPAddr.new("123.100.70.0/29"), :management => IPAddr.new("123.100.66.0/24") }.inject({}) { |memo, kv|
memo[kv[0]] = kv[1].to_s
memo
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment