Method: Vedeu::Models::Row#cell

Defined in:
lib/vedeu/models/row.rb

#cell(index) ⇒ NilClass|void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • index (Fixnum)

Returns:

  • (NilClass|void)


39
40
41
42
43
# File 'lib/vedeu/models/row.rb', line 39

def cell(index)
  return nil if index.nil? || empty?

  cells[index]
end