lib/rspreadsheet/worksheet.rb in rspreadsheet-0.4.5 vs lib/rspreadsheet/worksheet.rb in rspreadsheet-0.4.7

- old
+ new

@@ -109,10 +109,10 @@ else raise ArgumentError.new('Wrong number of arguments.') end end alias :cell :cells def column(param) - r,coli = Rspreadsheet::Tools.a2c(1,param) + _,coli = Rspreadsheet::Tools.a2c(1,param) Column.new(self,coli) end # Allows syntax like sheet.F15. TO catch errors easier, allows only up to three uppercase letters in colum part, althought it won't be necessarry to restrict. def method_missing method_name, *args, &block if method_name.to_s.match(/^([A-Z]{1,3})(\d{1,8})(=?)$/)