= yahoo_jp_transit.rb Copyright (c) 2007 SUGAWARA Genki == Example $KCODE = 's' require 'yahoo_jp_transit' searcher = YahooJpTransit::Searcher.new selected = searcher.select('大宮', '東京') puts selected from = selected.from[0] to = selected.to[0] result = searcher.query(from, to) exit if result.empty? begin puts result end while result = result.next_page