Mistři v programování na #hovnokod

Ruby #318

while 2 > 1 do
			@command = io.gets();
			case @command 
				when 'version' 
					puts('0.01 Alpha for developers SUPIRPUPIRSIKRIT');
				when 'register, #{@arg}'
					@name = @arg;
					@name = User.new;
					@name.register;
					@name = '';
					@arg ='';
				when 'login, arg '
					@user = @arg;
					@user.login;
					@user = '';
				when 'quit'
					server.shutdown;
				else
					puts(@command);
			end 
		end

HovnoKod,