lib/twiterator/twiterator-cli.rb in twiterator-0.1.0 vs lib/twiterator/twiterator-cli.rb in twiterator-0.2.0

- old
+ new

@@ -2,11 +2,11 @@ attr_accessor :doc, :user, :tweet def initialize puts " " - puts "************ | TWITERATOR 0.1.0 | ************" + puts "************ | TWITERATOR #{Twiterator::VERSION} | ************" puts " " puts "\nHi there! I'm Twiterator, a Ruby cli scraper for" puts "the popular social networking site, Twitter." puts "You can type a twitter handle (or search for one!), and I will" puts "display that user's basic info along with their most" @@ -22,10 +22,10 @@ user = gets.chomp if not_verified(user) search_possible(user) display_possible new_user_menu - else + elsif @user = User.new(user) end display_profile end