Page for testing formatting
ftp://sourcery.dyndns.org/pub/
Scrap of Ruby code -
# produces a statistical report of the database # [+return+] a string containing the report def stats rooms = objs = players = 0 @db.values.each do |val| case val when Room rooms += 1 when Player players += 1 when GameObject objs += 1 end end stats=<<EOH [COLOR=cyan] ---* Database Statistics *--- Rooms - #{rooms} Players - #{players} Objects - #{objs} Total Objects - #{rooms+objs+players} Highest OID in use - #{@dbtop} ---* *--- [/COLOR] EOH return stats end