Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以下のコードは、サイズの大小に関係なく、15個のエントリを返します:count。なんで?結果の数を制御するにはどうすればよいですか?
:count
Twitter.search("#ruby -rt", :lang => "ja", :count => 1).results
Twittergemバージョン3.7.0を使用しています。
3.x.xGemのバージョンではこれを機能させることができませんでした。に更新する>= 4.0.0と、必要な機能が追加されるようです。:countオプションがなかったのではないかと思います。
3.x.x
>= 4.0.0