Class: UITableView
- Inherits:
-
Object
- Object
- UITableView
- Defined in:
- lib/project/test.rb
Instance Method Summary collapse
Instance Method Details
#empty? ⇒ Boolean
559 560 561 562 563 564 565 |
# File 'lib/project/test.rb', line 559 def empty? cells=0 numberOfSections.times do |section| cells+=numberOfRowsInSection(section) end cells==0 end |