Class: Flumtter::TimeLine::Retweet
- Inherits:
-
Event
- Object
- Base
- Event
- Flumtter::TimeLine::Retweet
show all
- Defined in:
- lib/flumtter/app/plugins/timeline/tweet.rb
Instance Method Summary
collapse
Methods inherited from Event
#header
Methods inherited from Base
[], #initialize, #to_s
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
Instance Method Details
#color ⇒ Object
32
33
34
|
# File 'lib/flumtter/app/plugins/timeline/tweet.rb', line 32
def color
Setting.dig(:color, :timeline, :retweet) || :white
end
|
#info ⇒ Object
28
29
30
|
# File 'lib/flumtter/app/plugins/timeline/tweet.rb', line 28
def info
@object..
end
|
#source_user ⇒ Object
24
25
26
|
# File 'lib/flumtter/app/plugins/timeline/tweet.rb', line 24
def source_user
@object.user.screen_name
end
|