Class: Flumtter::Window::Tweet

Inherits:
Buf::Screen show all
Includes:
Command::Tweet
Defined in:
lib/flumtter/app/core/windows/tweet.rb

Constant Summary

Constants inherited from Buf::Screen

Buf::Screen::EnableKey

Instance Method Summary collapse

Methods included from Command::Tweet

#add_command

Methods inherited from Buf::Screen

#call, #id2obj, #move, #show

Methods included from Util

#command_value_regexp, #dialog_for_index, #error, #error_handler, #id2obj, #if_tweet, #index_regexp, #index_with_dialog, #logger, #on_event, #parse_index, #parse_time, #sarastire, #sarastire_user, #screen_name_regexp

Methods inherited from Dialog

#call, #command, #show

Methods included from Dispel::Util

#add_multiline_str, #addstr, #getstr

Constructor Details

#initialize(user, twitter) ⇒ Tweet

Returns a new instance of Tweet.



25
26
27
28
# File 'lib/flumtter/app/core/windows/tweet.rb', line 25

def initialize(user, twitter)
  super(TweetBuf.new(user, twitter), "#{user.screen_name}'s Tweets")
  add_command(twitter)
end