lib/formulae/compile/formula_builder.rb in rubyfromexcel-0.0.21 vs lib/formulae/compile/formula_builder.rb in rubyfromexcel-0.0.22

- old
+ new

@@ -71,11 +71,11 @@ end def named_reference(name, worksheet = nil) worksheet ||= formula_cell ? formula_cell.worksheet : nil return ":name" unless worksheet - worksheet.named_references[name.to_method_name] || - worksheet.workbook.named_references[name.to_method_name] || + worksheet.named_references[name.downcase] || + worksheet.workbook.named_references[name.downcase] || ":name" end def cell(reference) Reference.new(reference).to_ruby \ No newline at end of file