Sha256: 156038893ea9f26c68751a5a374697b82e42ad5516cf1581db09957dcd27ccfe

Contents?: true

Size: 486 Bytes

Versions: 10

Compression:

Stored size: 486 Bytes

Contents

theme_exit unless display?

@twitter_footer_color ||= @foreground
if !defined?(@twitter_footer_filters) or @twitter_footer_filters.nil?
  theme_exit("must specify @twitter_footer_filters!! as " +
             "array of keyword: ['keyword1', 'keyword1', ...])")
end

canvas.twitter.close
theme_exit if @twitter_footer_uninstall

canvas.twitter.start(@twitter_footer_filters) do |status|
  tweet = "@#{status['user']['screen_name']}: #{status['text']}"
  canvas.append_comment(tweet)
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rabbit-1.0.9 lib/rabbit/theme/twitter-comment/twitter-comment.rb
rabbit-1.0.8 lib/rabbit/theme/twitter-comment/twitter-comment.rb
rabbit-1.0.7 lib/rabbit/theme/twitter-comment/twitter-comment.rb
rabbit-1.0.6 lib/rabbit/theme/twitter-comment/twitter-comment.rb
rabbit-1.0.5 lib/rabbit/theme/twitter-comment/twitter-comment.rb
rabbit-1.0.4 lib/rabbit/theme/twitter-comment/twitter-comment.rb
rabbit-1.0.3 lib/rabbit/theme/twitter-comment/twitter-comment.rb
rabbit-1.0.2 lib/rabbit/theme/twitter-comment/twitter-comment.rb
rabbit-1.0.1 lib/rabbit/theme/twitter-comment/twitter-comment.rb
rabbit-1.0.0 lib/rabbit/theme/twitter-comment/twitter-comment.rb