1 # TODO - in the machine impl itself currently initialize is not called automatically
13 @data = [string.length]
14 string.each_byte { |b| @data << b }
81 class Fixnum # BigNum too i guess?
103 def print_num int, just
105 (just - num.length).times {
110 def print_line m, just, num_columns
113 print_num n * m, just
120 max = (num_columns * num_rows).to_s
121 just = 1 + max.length
124 print_line n, just, num_columns