lib/hirb/helpers/table.rb in hirb-0.3.1 vs lib/hirb/helpers/table.rb in hirb-0.3.2

- old
+ new

@@ -162,10 +162,10 @@ rows.each {|e| e[newf] = e.delete(oldf) if e.key?(oldf) } end rows = filter_values(rows) rows.each_with_index {|e,i| e[:hirb_number] = (i + 1).to_s} if @options[:number] deleted_callbacks = Array(@options[:delete_callbacks]).map {|e| "#{e}_callback" } - (methods.grep(/_callback$/) - deleted_callbacks).sort.each do |meth| + (methods.grep(/_callback$/).map {|e| e.to_s} - deleted_callbacks).sort.each do |meth| rows = send(meth, rows, @options.dup) end validate_values(rows) rows end