Skip to content

Commit

Permalink
adding socket constant checking script
Browse files Browse the repository at this point in the history
  • Loading branch information
Preston Lee committed Nov 8, 2008
1 parent 869868d commit b7ab3e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ruby/list_socket_constants.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env ruby

require 'socket'
# Socket::SO_REUSEADDR
Socket.constants.sort.each do |c| puts c end

0 comments on commit b7ab3e4

Please sign in to comment.