462件ヒット
[401-462件を表示]
(0.180秒)
ライブラリ
- ビルトイン (36)
- mkmf (36)
- pathname (72)
- rss (204)
-
rubygems
/ installer (12) -
rubygems
/ package / tar _ header (12) - shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (30) - tempfile (12)
クラス
-
File
:: Stat (36) -
Gem
:: Installer (12) -
Gem
:: Package :: TarHeader (12) - Pathname (72)
-
RDoc
:: Options (24) -
RSS
:: Maker :: ItemsBase :: ItemBase (24) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Guid (24) -
RSS
:: Maker :: TextinputBase (24) -
RSS
:: RDF :: Item (24) -
RSS
:: RDF :: Textinput (24) -
RSS
:: Rss :: Channel :: Item (24) -
RSS
:: Rss :: Channel :: Item :: Guid (12) -
RSS
:: Rss :: Channel :: TextInput (24) -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic (24) - Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (30) - Tempfile (12)
モジュール
- Kernel (36)
キーワード
- cleanpath (12)
- ftype (12)
-
generate
_ bin _ symlink (12) -
hyperlink
_ all (12) -
hyperlink
_ all= (12) - isPermaLink (24)
- isPermaLink= (12)
- link= (72)
-
link
_ command (12) - linkname (12)
-
make
_ link (12) -
make
_ symlink (12) - nlink (12)
- readlink (30)
- symlink (6)
- symlink? (30)
-
taxo
_ link (12) -
taxo
_ link= (12) -
try
_ link (24) - unlink (42)
検索結果
先頭5件
-
Tempfile
# unlink -> self (9101.0) -
テンポラリファイルをクローズせずに、削除します。 UNIXライクなシステムでは、 作成したテンポラリファイルが他のプログラムに使用される機会をなくすために、 テンポラリファイルを作成しオープンした後、 すぐに削除するということがしばしばおこなわれます。
...ンポラリファイルを作成しオープンした後、
すぐに削除するということがしばしばおこなわれます。
require "tempfile"
tf = Tempfile.new("foo")
tf.unlink
p tf.path # => nil
tf.print("foobar,hoge\n")
tf.rewind
p tf.gets("\n") # => "foobar,hoge\n"... -
Kernel
# link _ command(ldflags , opt = "" , libpath = $ DEFLIBPATH| $ LIBPATH) -> String (6202.0) -
実際にリンクする際に使用するコマンドを返します。
...実際にリンクする際に使用するコマンドを返します。
@param ldflags LDFLAGS に追加する値を指定します。
@param opt LIBS に追加する値を指定します。
@param libpath LIBPATH に指定する値を指定します。
@see RbConfig.expand... -
Pathname
# unlink -> Integer (6201.0) -
self が指すディレクトリあるいはファイルを削除します。
...self が指すディレクトリあるいはファイルを削除します。
//emlist[例][ruby]{
require "pathname"
pathname = Pathname("/path/to/sample")
pathname.exist? # => true
pathname.unlink # => 1
pathname.exist? # => false
//}... -
Shell
# readlink(path) -> String (6201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path シンボリックリンクを表す文字列を指定します。
@see File.readlink... -
Shell
# unlink(path) -> self (6201.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 (6201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path シンボリックリンクを表す文字列を指定します。
@see File.readlink... -
Shell
:: CommandProcessor # unlink(path) -> self (6201.0) -
path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
...path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
@param path 削除したいパスを指定します。
@see File.unlink, Dir.unlink... -
File
:: Stat # ftype -> String (6107.0) -
ファイルのタイプを表す文字列を返します。
...のうちのいずれかです。
"file"
"directory"
"characterSpecial"
"blockSpecial"
"fifo"
"link"
"socket"
"unknown"
//emlist[例][ruby]{
fs = File::Stat.new($0)
p fs.ftype #=> "file"
p File::Stat.new($:[0]).ftype #=> "directory"
//}
1.8 以降では、属性メソッドが...