タグ

ruby-2.4.0とdirに関するnabinnoのブックマーク (1)

  • class Dir (Ruby 3.3 リファレンスマニュアル)

    [edit] 要約 ディレクトリの操作を行うためのクラスです。 目次 特異メソッド [] chdir children chroot delete each_child empty? entries exist? foreach getwd glob home mkdir new open pwd rmdir unlink インスタンスメソッド children close each each_child fileno inspect path pos pos= read rewind seek tell to_path 継承しているメソッド Enumerableから継承しているメソッド all? any? chain chunk chunk_while collect collect_concat compact count cycle detect drop drop_while ea

    nabinno
    nabinno 2015/08/04
  • 1