Class: Twterm::Tab::SearchTab
- Inherits:
-
Object
- Object
- Twterm::Tab::SearchTab
- Includes:
- Dumpable, StatusesTab
- Defined in:
- lib/twterm/tab/search_tab.rb
Instance Attribute Summary collapse
-
#query ⇒ Object
readonly
Returns the value of attribute query.
Attributes included from Base
Instance Method Summary collapse
- #==(other) ⇒ Object
- #close ⇒ Object
- #dump ⇒ Object
- #fetch ⇒ Object
-
#initialize(query) ⇒ SearchTab
constructor
A new instance of SearchTab.
Methods included from Dumpable
Methods included from StatusesTab
#append, #delete, #destroy_status, #favorite, #open_link, #prepend, #reply, #respond_to_key, #retweet, #show_conversation, #show_user, #statuses, #touch_statuses, #update
Methods included from Scrollable
#count, #draw_scroll_bar, #index, #item_appended, #item_prepended, #last, #move_down, #move_to_bottom, #move_to_top, #move_up, #offset, #offset_from_bottom, #respond_to_key, #update_scrollbar_length
Methods included from Base
Constructor Details
Instance Attribute Details
#query ⇒ Object (readonly)
Returns the value of attribute query.
7 8 9 |
# File 'lib/twterm/tab/search_tab.rb', line 7 def query @query end |
Instance Method Details
#==(other) ⇒ Object
31 32 33 |
# File 'lib/twterm/tab/search_tab.rb', line 31 def ==(other) other.is_a?(self.class) && query == other.query end |
#close ⇒ Object
26 27 28 29 |
# File 'lib/twterm/tab/search_tab.rb', line 26 def close @auto_reloader.kill if @auto_reloader super end |
#dump ⇒ Object
35 36 37 |
# File 'lib/twterm/tab/search_tab.rb', line 35 def dump @query end |