# File lib/prawn/flexible-table.rb, line 41 def flexible_table(data, options={}) if data.nil? || data.empty? raise Prawn::Errors::EmptyTable, "data must be a non-empty, non-nil, two dimensional array of Prawn::Cells or strings" end Prawn::FlexibleTable.new(data,self,options).draw end