ライブラリ
- ビルトイン (154)
- etc (11)
- fileutils (44)
- pathname (44)
-
rubygems
/ installer (11) - shell (30)
-
shell
/ command-processor (30) -
shell
/ filter (30) - tempfile (11)
クラス
- File (99)
-
File
:: Stat (33) -
Gem
:: Installer (11) - Pathname (44)
- Shell (30)
-
Shell
:: CommandProcessor (30) -
Shell
:: Filter (30) - Tempfile (11)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - Marshal フォーマット (11)
-
NEWS for Ruby 2
. 5 . 0 (7) -
PC
_ FILESIZEBITS (11) - cleanpath (11)
- ftype (22)
-
generate
_ bin _ symlink (11) - identical? (11)
- lchmod (11)
- lchown (11)
- ln (11)
- lstat (11)
-
make
_ link (11) -
make
_ symlink (11) - nlink (11)
- rdoc (11)
- readlink (40)
- rss (11)
-
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 8 . 5 feature (11) -
safe
_ unlink (11) - symlink (40)
- symlink? (51)
- un (11)
- unlink (40)
検索結果
先頭5件
-
Pathname
# make _ link(old) -> 0 (6145.0) -
File.link(old, self.to_s) と同じです。
...File.link(old, self.to_s) と同じです。
@see File.link... -
Pathname
# make _ symlink(old) -> 0 (6122.0) -
File.symlink(old, self.to_s) と同じです。
...File.symlink(old, self.to_s) と同じです。
@see File.symlink... -
Pathname
# readlink -> Pathname (6122.0) -
Pathname.new(File.readlink(self.to_s)) と同じです。
...Pathname.new(File.readlink(self.to_s)) と同じです。
@see File.readlink... -
Shell
# readlink(path) -> String (6122.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path シンボリックリンクを表す文字列を指定します。
@see File.readlink... -
Shell
# symlink(old , new) -> 0 (6122.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new シンボリックリンクを表す文字列を指定します。
@see File.symlink... -
Shell
# unlink(path) -> self (6122.0) -
path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
...path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
@param path 削除したいパスを指定します。
@see File.unlink, Dir.unlink... -
Shell
:: CommandProcessor # readlink(path) -> String (6122.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path シンボリックリンクを表す文字列を指定します。
@see File.readlink... -
Shell
:: CommandProcessor # symlink(old , new) -> 0 (6122.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new シンボリックリンクを表す文字列を指定します。
@see File.symlink... -
Shell
:: CommandProcessor # unlink(path) -> self (6122.0) -
path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
...path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
@param path 削除したいパスを指定します。
@see File.unlink, Dir.unlink... -
Shell
:: Filter # readlink(path) -> String (6122.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path シンボリックリンクを表す文字列を指定します。
@see File.readlink... -
Shell
:: Filter # symlink(old , new) -> 0 (6122.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new シンボリックリンクを表す文字列を指定します。
@see File.symlink... -
Shell
:: Filter # unlink(path) -> self (6122.0) -
path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
...path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
@param path 削除したいパスを指定します。
@see File.unlink, Dir.unlink... -
Etc
:: PC _ FILESIZEBITS -> Integer (6101.0) -
IO#pathconf の引数に指定します。
IO#pathconf の引数に指定します。
詳細は fpathconf(3) を参照してください。 -
FileUtils
. # safe _ unlink(list , options = {}) -> () (6100.0) -
FileUtils.rm(list, force: true) と同じです。
...
FileUtils.rm(list, force: true) と同じです。
c:FileUtils#options
@param list 削除する対象。一つの場合は文字列も指定可能です。
二つ以上指定する場合は配列で指定します。
@param options :noop, :verbose が指定できます。......:force がセットされた場合は作業中すべての StandardError を無視します。
@see FileUtils.#rm... -
FileUtils
. # symlink(src , dest , options = {}) -> () (6100.0) -
src へのシンボリックリンク dest を作成します。
...c:FileUtils#options
@raise Errno::EEXIST src が一つで dest がすでに存在しディレクトリでない場合に発生します。
@raise Errno::ENOTDIR src が複数で dest がディレクトリでない場合に発生します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.ln......_s('/usr/bin/ruby', '/usr/local/bin/ruby')
FileUtils.ln_s('verylongsourcefilename.c', 'c', force: true)
FileUtils.ln_s(Dir.glob('bin/*.rb'), '/home/aamine/bin')
//}...