1484件ヒット
[201-300件を表示]
(0.191秒)
別のキーワード
ライブラリ
- ビルトイン (282)
- etc (12)
- json (12)
- mkmf (60)
-
net
/ ftp (184) - pathname (256)
- psych (24)
- rake (24)
-
rake
/ packagetask (24) -
rake
/ rdoctask (12) -
rubygems
/ commands / which _ command (12) -
rubygems
/ dependency _ installer (12) -
rubygems
/ gem _ path _ searcher (12) -
rubygems
/ indexer (24) -
rubygems
/ installer (12) -
rubygems
/ package / f _ sync _ dir (12) -
rubygems
/ package / tar _ reader / entry (12) -
rubygems
/ package / tar _ writer (12) -
rubygems
/ remote _ fetcher (12) -
rubygems
/ source _ index (24) -
rubygems
/ spec _ fetcher (24) -
rubygems
/ specification (24) -
rubygems
/ uninstaller (12) -
rubygems
/ validator (12) - shell (102)
-
shell
/ command-processor (48) -
shell
/ filter (48) - un (48)
-
webrick
/ httpresponse (12) -
webrick
/ httpserver (84)
クラス
- Class (12)
- Dir (176)
-
Etc
:: Passwd (12) -
File
:: Stat (84) -
Gem
:: Commands :: WhichCommand (12) -
Gem
:: DependencyInstaller (12) -
Gem
:: GemPathSearcher (12) -
Gem
:: Indexer (24) -
Gem
:: Installer (12) -
Gem
:: Package :: TarReader :: Entry (12) -
Gem
:: Package :: TarWriter (12) -
Gem
:: RemoteFetcher (12) -
Gem
:: SourceIndex (24) -
Gem
:: SpecFetcher (24) -
Gem
:: Specification (24) -
Gem
:: Uninstaller (12) -
Gem
:: Validator (12) - IO (22)
-
Net
:: FTP (144) -
Net
:: FTP :: MLSxEntry (40) - Pathname (256)
-
Psych
:: Handler (12) -
Psych
:: Nodes :: Document (12) -
RDoc
:: Options (36) -
Rake
:: Application (12) -
Rake
:: PackageTask (24) -
Rake
:: RDocTask (12) - Shell (102)
-
Shell
:: CommandProcessor (48) -
Shell
:: Filter (48) -
WEBrick
:: HTTPResponse (12) -
WEBrick
:: HTTPServer (60) -
WEBrick
:: HTTPServer :: MountTable (24)
モジュール
-
Gem
:: Package :: FSyncDir (12) - Kernel (120)
キーワード
- [] (12)
-
add
_ bindir (12) -
bin
_ dir (24) - bindir (12)
- blockdev? (12)
-
cache
_ dir (12) - chardev? (12)
- chdir (18)
- children (19)
- cleanpath (12)
- close (12)
- cwd (6)
- delete (12)
-
dest
_ directory (12) -
dir
_ config (12) -
dir
_ stack (6) - directory (24)
- directory? (64)
-
directory
_ makable? (10) - dirname (30)
- dirs (6)
- download (12)
-
dummy
_ makefile (12) - each (24)
-
each
_ child (38) -
each
_ entry (15) - empty? (9)
- entries (12)
- facts (10)
- fileno (22)
-
find
_ gems _ with _ sources (12) -
find
_ paths (12) - fnmatch (12)
- fnmatch? (12)
- foreach (18)
-
fsync
_ dir (12) - getdir (12)
- getwd (6)
- glob (34)
- httpd (12)
- inspect (12)
-
install
_ rb (12) -
json
_ creatable? (12) -
lib
_ dirs _ for (12) - list (24)
-
load
_ gems _ in (12) - ls (24)
- mkdir (66)
- mkmf (12)
- mount (12)
-
mount
_ proc (24) - nlst (12)
-
op
_ dir (12) - open (18)
- opendir (24)
-
original
_ dir (12) -
package
_ dir (12) -
package
_ dir _ path (12) -
page
_ dir (12) - path (12)
- popdir (6)
- pos (12)
- pos= (12)
- pushdir (6)
- pwd (18)
-
rdoc
_ dir (12) - read (12)
- realdirpath (12)
- realpath (24)
-
relative
_ path _ from (12) -
remove
_ leading _ dot _ dir (12) - rewind (12)
-
rm
_ f (12) -
rm
_ rf (12) - rmdir (54)
- seek (12)
-
set
_ redirect (12) - setgid? (12)
- setuid? (12)
- socket? (12)
-
spec
_ dirs (12) -
start
_ document (12) - sticky? (12)
-
tag
_ directives (12) - tell (12)
-
template
_ dir (12) -
to
_ i (11) -
to
_ path (12) - type (10)
- umount (12)
- unlink (18)
- unmount (12)
検索結果
先頭5件
-
Dir
# pos -> Integer (9107.0) -
ディレクトリストリームの現在の位置を整数で返します。
...ディレクトリストリームの現在の位置を整数で返します。
@raise IOError 既に自身が close している場合に発生します。
//emlist[例][ruby]{
Dir.open("/tmp") {|d|
d.each {|f|
p d.pos
}
}
//}... -
Dir
# tell -> Integer (9107.0) -
ディレクトリストリームの現在の位置を整数で返します。
...ディレクトリストリームの現在の位置を整数で返します。
@raise IOError 既に自身が close している場合に発生します。
//emlist[例][ruby]{
Dir.open("/tmp") {|d|
d.each {|f|
p d.pos
}
}
//}... -
Dir
# to _ path -> String (9107.0) -
オープンしているディレクトリのパス名を文字列で返します。
...オープンしているディレクトリのパス名を文字列で返します。
//emlist[例][ruby]{
Dir.open("..") do |d|
d.path # => ".."
d.to_path # => ".."
end
//}... -
Dir
# pos=(pos) (9035.0) -
ディレクトリストリームの読み込み位置を pos に移動させます。 pos は Dir#tell で与えられた値でなければなりま せん。
...pos は Dir#tell で与えられた値でなければなりま
せん。
@param pos 変更したい位置を整数で与えます。
@raise IOError 既に自身が close している場合に発生します。
//emlist[例][ruby]{
Dir.open("testdir") do |d|
d.read # => "."......i = d.tell # => 12
d.read # => ".."
d.seek(i) # => #<Dir:0x401b3c40>
d.read # => ".."
end
//}... -
Pathname
# opendir -> Dir (6325.0) -
Dir.open(self.to_s, &block) と同じです。
...Dir.open(self.to_s, &block) と同じです。
@see Dir.open... -
Pathname
# opendir {|dir| . . . } -> nil (6325.0) -
Dir.open(self.to_s, &block) と同じです。
...Dir.open(self.to_s, &block) と同じです。
@see Dir.open... -
Kernel
# directory(dir) -> () (6308.0) -
与えられたディレクトリを作成するタスクを定義します。
...与えられたディレクトリを作成するタスクを定義します。
@param dir 作成するディレクトリを指定します。
例:
directory 'testdata/doc'... -
Pathname
# realdirpath(basedir = nil) -> Pathname (6307.0) -
Pathname#realpath とほぼ同じで、最後のコンポーネントは実際に 存在しなくてもエラーになりません。
...せん。
@param basedir ベースディレクトリを指定します。省略するとカレントディレクトリになります。
//emlist[例][ruby]{
require "pathname"
path = Pathname("/not_exist")
path.realdirpath # => #<Pathname:/not_exist>
path.realpath # => Errno::ENOENT
# 最......後ではないコンポーネント(/not_exist_1)も存在しないのでエラーになる。
path = Pathname("/not_exist_1/not_exist_2")
path.realdirpath # => Errno::ENOENT
//}
@see Pathname#realpath... -
Net
:: FTP # chdir(dirname) -> nil (6301.0) -
リモートサーバでのカレントディレクトリを dirname に変更します。
...リモートサーバでのカレントディレクトリを dirname に変更します。
@param dirname 変更先のディレクトリを与えます。
@raise Net::FTPReplyError 応答コードがエラーである場合に発生します。カレントディレクトリ変更に失敗した場...