Method: Twterm::Tab::Statuses::Search#initialize
- Defined in:
- lib/twterm/tab/statuses/search.rb
#initialize(query) ⇒ Search
30 31 32 33 34 35 36 37 38 |
# File 'lib/twterm/tab/statuses/search.rb', line 30 def initialize(query) super() @query = query @title = "\"#{@query}\"" fetch { scroller.move_to_top } @auto_reloader = Scheduler.new(300) { fetch } end |