Class: Flumtter::Window::Mention

Inherits:
Buf::Screen show all
Includes:
Command::Tweet
Defined in:
lib/flumtter/app/core/windows/mention.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(twitter) ⇒ Mention

Returns a new instance of Mention.



23
24
25
26
# File 'lib/flumtter/app/core/windows/mention.rb', line 23

def initialize(twitter)
  super(MentionBuf.new(twitter), "#{twitter..screen_name}'s Mentions")
  add_command(twitter)
end