Method: Osheet::WorkbookApi#cell

Defined in:
lib/osheet/workbook_api.rb

#cell(*args, &block) ⇒ Object

used on: row



134
135
136
137
138
139
140
# File 'lib/osheet/workbook_api.rb', line 134

def cell(*args, &block)
  if args.empty? && block.nil?
    cells.last
  else
    TemplatedElement.new(self, :cell, *args, &block).add
  end
end