Commits

Richo Healey committed 7417d13

Stubbed out some coloury shinyness

  • Participants
  • Parent commits 02b6897

Comments (0)

Files changed (2)

   require "twat/#{filename}"
 end
 
+class String
+  def red
+    "#{self}"
+  end
+
+  def cyan
+    "#{self}"
+  end
+end
+
 module Twat
   VERSION_MAJOR = 0
   VERSION_MINOR = 3

File lib/twat/actions.rb

     def show
       twitter_auth
       Twitter.home_timeline.each_with_index do |tweet, idx|
-        puts "#{tweet.user.screen_name}: #{tweet.text}"
+        puts "#{tweet.user.screen_name.cyan}: #{tweet.text}"
 
         break if idx == opts[:count]
       end