タグ

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

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

    [edit] 要約 ファイルアクセスのためのクラスです。 通常 Kernel.#open または File.open を使って生成します。 IO クラスがインクルードしている File::Constants は File クラスに関係する定数を格納したモジュールです。また File::Stat は stat 構造体( stat(2) 参照)を表すクラスです。 目次 特異メソッド absolute_path absolute_path? atime basename birthtime blockdev? chardev? chmod chown ctime delete directory? dirname empty? executable? executable_real? exist? expand_path extname file? fnmatch fnmatch? ftype

    nabinno
    nabinno 2015/08/08
  • 1