examples/search.rb in jugyo-rubytter-0.5.0 vs examples/search.rb in jugyo-rubytter-0.6.3

- old
+ new

@@ -2,8 +2,8 @@ # -*- coding: utf-8 -*- require 'rubygems' require 'rubytter' client = Rubytter.new -client.search(ARGV[0] || 'rubytter').results.each do |status| - puts "#{status.from_user}: #{status.text}" +client.search(ARGV[0] || 'rubytter').each do |status| + puts "#{status.user.screen_name}: #{status.text}" end