るりまサーチ

最速Rubyリファレンスマニュアル検索!
198件ヒット [1-100件を表示] (0.113秒)

別のキーワード

  1. _builtin file?
  2. _builtin file
  3. file size
  4. file atime
  5. file lstat

キーワード

検索結果

<< 1 2 > >>

Shell#link(old, new) -> 0 (18130.0)

File クラスにある同名のクラスメソッドと同じです.

...
File
クラスにある同名のクラスメソッドと同じです.

@param old ファイル名を表す文字列を指定します。

@param new ファイル名を表す文字列を指定します。

@see File.link...

Shell::CommandProcessor#link(old, new) -> 0 (18130.0)

File クラスにある同名のクラスメソッドと同じです.

...
File
クラスにある同名のクラスメソッドと同じです.

@param old ファイル名を表す文字列を指定します。

@param new ファイル名を表す文字列を指定します。

@see File.link...

Shell::Filter#link(old, new) -> 0 (18130.0)

File クラスにある同名のクラスメソッドと同じです.

...
File
クラスにある同名のクラスメソッドと同じです.

@param old ファイル名を表す文字列を指定します。

@param new ファイル名を表す文字列を指定します。

@see File.link...

File::Stat#symlink? -> false (9135.0)

シンボリックリンクである時に真を返します。 ただし、File::Statは自動的にシンボリックリンクをたどっていくので 常にfalseを返します。

...File::Statは自動的にシンボリックリンクをたどっていくので
常にfalseを返します。

//emlist[][ruby]{
require 'fileutils'
outfile = $0 + ".ln"
File
Utils.ln_s($0, outfile)
p File::Stat.new(outfile).symlink? #=> false
p File.lstat(outfile).symlink? #=> true
p FileTest...
....symlink?(outfile) #=> true
//}

@see File.lstat...

File::Stat#nlink -> Integer (9107.0)

ハードリンクの数を返します。

...ハードリンクの数を返します。

//emlist[][ruby]{
fs = File::Stat.new($0)
#例
p fs.nlink #=> 1
//}...

絞り込み条件を変える

Shell#symlink?(file) -> bool (6208.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#symlink?...

Shell::CommandProcessor#symlink?(file) -> bool (6208.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#symlink?...

Shell::Filter#symlink?(file) -> bool (6208.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#symlink?...

Gem::Installer#generate_bin_symlink(filename, bindir) (6201.0)

Gem に入っているアプリケーションを実行するためのシンボリックリンクを作成します。

...現在インストールされている Gem よりも新しい Gem をインストールするときは、
シンボリックリンクを更新します。

@param filename ファイル名を指定します。

@param bindir 実行ファイルを配置するディレクトリを指定します。...

Pathname#make_link(old) -> 0 (6146.0)

File.link(old, self.to_s) と同じです。

...File.link(old, self.to_s) と同じです。


@see File.link...

絞り込み条件を変える

Pathname#make_symlink(old) -> 0 (6123.0)

File.symlink(old, self.to_s) と同じです。

...File.symlink(old, self.to_s) と同じです。


@see File.symlink...

Pathname#readlink -> Pathname (6123.0)

Pathname.new(File.readlink(self.to_s)) と同じです。

...Pathname.new(File.readlink(self.to_s)) と同じです。


@see File.readlink...
<< 1 2 > >>