Skip to content

Instantly share code, notes, and snippets.

View Elevina's full-sized avatar

Kim Lassen Elevina

  • Svendborg, Denmark
View GitHub Profile
@Elevina
Elevina / Ulla
Created January 10, 2011 20:17
#!/usr/local/bin/ruby
require 'socket'
class IRC
def initialize(server, port, channel)
@channel = channel
@nick = "Ulla"
@socket = TCPSocket.open(server, port)