lib/rspreadsheet/tools.rb in rspreadsheet-0.2.9 vs lib/rspreadsheet/tools.rb in rspreadsheet-0.2.10

- old
+ new

@@ -9,10 +9,10 @@ end # converts cell adress like 'F12' to pair od integers [row,col] def self.convert_cell_address_to_coordinates(*addr) if addr.length == 1 - addr[0].match(/^([A-Za-z]{1,3})(\d{1,8})$/) + addr[0].to_s.match(/^([A-Za-z]{1,3})(\d{1,8})$/) colname = $~[1] rowname = $~[2].to_i elsif addr.length == 2 a = addr[0]; b = addr[1] if a.kind_of?(Integer) and b.kind_of?(Integer) # most common case first \ No newline at end of file