Class: Twterm::Tab::Statuses::Search
- Inherits:
-
Object
- Object
- Twterm::Tab::Statuses::Search
- Defined in:
- lib/twterm/tab/statuses/search.rb
Instance Attribute Summary collapse
-
#query ⇒ Object
readonly
Returns the value of attribute query.
Attributes included from Twterm::Tab::Scrollable
Attributes included from Base
Instance Method Summary collapse
- #==(other) ⇒ Object
- #close ⇒ Object
- #dump ⇒ Object
- #fetch ⇒ Object
-
#initialize(query) ⇒ Search
constructor
A new instance of Search.
Methods included from Dumpable
Methods included from Base
#append, #delete, #destroy_status, #drawable_item_count, #favorite, #items, #open_link, #prepend, #reply, #respond_to_key, #retweet, #show_conversation, #show_user, #statuses, #total_item_count, #touch_statuses, #update
Methods included from Twterm::Tab::Scrollable
Methods included from FilterableList
#filter, #filter_query, #items, #reset_filter
Methods included from Base
#refresh, #resize, #respond_to_key
Constructor Details
Instance Attribute Details
#query ⇒ Object (readonly)
Returns the value of attribute query.
8 9 10 |
# File 'lib/twterm/tab/statuses/search.rb', line 8 def query @query end |
Instance Method Details
#==(other) ⇒ Object
10 11 12 |
# File 'lib/twterm/tab/statuses/search.rb', line 10 def ==(other) other.is_a?(self.class) && query == other.query end |
#close ⇒ Object
14 15 16 17 |
# File 'lib/twterm/tab/statuses/search.rb', line 14 def close @auto_reloader.kill if @auto_reloader super end |
#dump ⇒ Object
19 20 21 |
# File 'lib/twterm/tab/statuses/search.rb', line 19 def dump @query end |