Why you don't use Enumerator?

class TS
  attr_accessor :screen_name, :text
  def initialize
    @screen_name = "foo"
    @text = "sample"
  end
end

f = Enumerator.new {|g|
  # getting twitter status
  loop {
    g.yield TS.new
  }
}

f.each do |x|
  puts "#{x.screen_name}: #{x.text}"
end

-- 
// SASADA Koichi at atdot dot net