A fake auction house I made for a school project.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
the_auctionhouse/src/debug.rb

15 lines
170 B

def log(str, *args)
puts "#{str}"
args.each do |s|
puts " :: #{s}"
end
end
def debug(str, *args)
if DEBUG then
print "DEBUG :: "
log "#{str}", *args
end
end