Is there an easy way to change the way ruby outputs nil's. Such that "" is output instead? The reason for this, is due to the amount of space a large array can occupy if containing several thousand empty cells as opposed to one which prints out "".
Alternately, you can override the inspect method:
class NilClass def inspect "!" # I prefer a bang, to empty quotes end end
-Kyle