Method: ProMotion::MotionTable::SectionedTable#cell_at_section_and_index

Defined in:
lib/ProMotion/screen_helpers/_tables/_sectioned_table.rb

#cell_at_section_and_index(section, index) ⇒ Object Also known as: cellAtSectionAndIndex



49
50
51
52
53
# File 'lib/ProMotion/screen_helpers/_tables/_sectioned_table.rb', line 49

def cell_at_section_and_index(section, index)
  if section_at_index(section) && section_at_index(section)[:cells]
    return section_at_index(section)[:cells].at(index)
  end
end