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.
#skip のソースを見ると、次のファイルに移動する前にファイルが閉じられています。これは、#close が実装することになっている動作です。ドキュメントは、#skip を使用するときはファイルを開いたままにしておくことを提案しています。
あまりない。ただし、違いが1つあります。skipファイルがなくなっても何も実行せず、を発生さcloseせIOErrorます。
skip
close
IOError