lib/pt/data_table.rb in pt-0.7 vs lib/pt/data_table.rb in pt-0.7.1
- old
+ new
@@ -13,9 +13,10 @@
def print(config={})
if @rows.empty?
puts "\n#{'-- empty list --'.center(36)}\n"
else
self.class.table @rows, :fields => [:num] + self.class.fields,
+ :change_fields => %w{num pt_id},
:unicode => true, :description => false,
:max_width => config[:max_width]
end
end