Class: Twterm::Tab::Statuses::Search
- Includes:
- Dumpable
- 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 inherited 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 inherited 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 Utils
Methods included from Subscriber
included, #subscribe, #unsubscribe
Methods included from Twterm::Tab::Scrollable
Methods included from Publisher
Methods included from FilterableList
#filter, #filter_query, #items, #reset_filter
Methods inherited from Base
Constructor Details
Instance Attribute Details
#query ⇒ Object (readonly)
Returns the value of attribute query.
9 10 11 |
# File 'lib/twterm/tab/statuses/search.rb', line 9 def query @query end |
Instance Method Details
#==(other) ⇒ Object
11 12 13 |
# File 'lib/twterm/tab/statuses/search.rb', line 11 def ==(other) other.is_a?(self.class) && query == other.query end |
#close ⇒ Object
15 16 17 18 |
# File 'lib/twterm/tab/statuses/search.rb', line 15 def close @auto_reloader.kill if @auto_reloader super end |
#dump ⇒ Object
20 21 22 |
# File 'lib/twterm/tab/statuses/search.rb', line 20 def dump @query end |