class Array
Some monkey patching for debugging.
Public Instance Methods
show_weights(msg = "")
click to toggle source
A debugging routine. Turned on by the –debug option.
# File lib/cli/cli_debug.rb, line 7 def show_weights(msg = "") if $game_debug print msg.ljust(7) self.each do |weight| print " #{Utl.channel_to_name(weight[1])}#{"%5.2f" % weight[0]} " end puts end self end