Method: LibExcel::Worksheet#reference

Defined in:
lib/libexcel/worksheet.rb

#reference(args, equal = '=') ⇒ Object

Creates a reference to a cell in this Worksheet to be used in another Worksheet.



91
92
93
# File 'lib/libexcel/worksheet.rb', line 91

def reference(args, equal = '=')
  Formula.new("#{equal}'#{name}'!#{LibExcel.static(args[:row], args[:col])}")
end