vendor/bundle/ruby/1.8/gems/io-reactor-1.0.4/examples/chatserver.rb
### Build and return a list of connected users for the specified user.
Build and return a list of connected users for the specified user.
Build and return a list of connected users for the specified user .
def wholist( user )
		rval = "[Connected Users]\n" <<
			"  *#{user}*\n"
		@users.each {|u|
			next if u == user
			rval << "  #{u}\n"
		}
		return rval
	end
def wholist ( user ) rval = "[Connected Users]\n" << "  *#{user}*\n" @users . each { | u | next if u == user rval << "  #{u}\n" } return rval end
Build and return a list of connected users for the specified user.
Build and return a list of connected users for the specified user .
user