Module: Twterm::Tab::Statuses::Cacheable
- Included in:
- Conversation, UserTimeline
- Defined in:
- lib/twterm/tab/statuses/cacheable.rb
Instance Method Summary collapse
Instance Method Details
#retrieve_from_cache! ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/twterm/tab/statuses/cacheable.rb', line 5 def retrieve_from_cache! statuses = cached_statuses cached_statuses.each { |status| append(status) } unless statuses.empty? sort scroller.move_to_top initially_loaded! end end |