2851件ヒット
[201-300件を表示]
(0.034秒)
ライブラリ
- ビルトイン (1102)
-
cgi
/ session (12) - csv (120)
- digest (24)
- etc (12)
- fileutils (60)
-
irb
/ cmd / load (24) -
irb
/ input-method (12) -
irb
/ magic-file (24) - logger (12)
- mkmf (12)
-
net
/ ftp (20) -
net
/ http (120) -
net
/ pop (12) - open-uri (24)
- openssl (84)
- pathname (455)
- rake (48)
-
rubygems
/ config _ file (24) -
rubygems
/ format (12) -
rubygems
/ gem _ path _ searcher (24) -
rubygems
/ old _ format (12) -
rubygems
/ remote _ fetcher (24) -
rubygems
/ require _ paths _ builder (12) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ specification (12) -
rubygems
/ validator (12) - shell (42)
-
shell
/ command-processor (42) -
shell
/ filter (36) - tempfile (120)
-
webrick
/ httpservlet / filehandler (12) -
webrick
/ ssl (12) - zlib (12)
クラス
-
ARGF
. class (24) -
CGI
:: Session (12) - CSV (108)
-
Digest
:: Base (24) - Dir (176)
- File (516)
-
File
:: Stat (36) -
Gem
:: ConfigFile (24) -
Gem
:: Format (12) -
Gem
:: GemPathSearcher (24) -
Gem
:: OldFormat (12) -
Gem
:: RemoteFetcher (24) -
Gem
:: SourceInfoCache (12) -
Gem
:: Specification (12) -
Gem
:: Validator (12) - IO (144)
-
IRB
:: ExtendCommand :: Load (12) -
IRB
:: ExtendCommand :: Source (12) -
IRB
:: FileInputMethod (12) - LoadError (12)
- Logger (12)
-
Net
:: FTP (20) -
Net
:: HTTP (72) -
Net
:: HTTPGenericRequest (24) -
Net
:: HTTPResponse (24) -
Net
:: POP3 (12) -
OpenSSL
:: SSL :: SSLContext (36) - Pathname (455)
-
Rake
:: DefaultLoader (12) -
Rake
:: FileList (12) -
RubyVM
:: InstructionSequence (60) - Shell (42)
-
Shell
:: CommandProcessor (42) -
Shell
:: Filter (36) - String (12)
- Tempfile (120)
-
WEBrick
:: HTTPServlet :: DefaultFileHandler (12) -
Zlib
:: GzipFile (12)
モジュール
- Etc (12)
-
File
:: Constants (12) - FileTest (24)
- FileUtils (72)
-
Gem
:: RequirePathsBuilder (12) - Kernel (100)
-
OpenSSL
:: X509 (48) - OpenURI (24)
-
RubyVM
:: AbstractSyntaxTree (10) -
WEBrick
:: Config (12)
オブジェクト
-
IRB
:: MagicFile (24)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - <=> (12)
- CSV (12)
-
DEFAULT
_ CERT _ STORE (12) - DOSISH 対応 (12)
-
FNM
_ PATHNAME (12) -
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 1 . 0 (4) -
PATH
_ SEPARATOR (12) -
PC
_ FILESIZEBITS (12) - Ruby用語集 (12)
- SSL (12)
-
V
_ ERR _ DEPTH _ ZERO _ SELF _ SIGNED _ CERT (12) -
V
_ ERR _ SELF _ SIGNED _ CERT _ IN _ CHAIN (12) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT (12) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT _ LOCALLY (12) -
absolute
_ path (24) -
absolute
_ path? (6) - ascend (24)
- atime (12)
- basename (12)
- birthtime (11)
- blockdev? (12)
-
body
_ stream (12) -
body
_ stream= (12) -
ca
_ file= (12) -
cert
_ store= (24) - certs (12)
- chardev? (12)
- chmod (12)
- chown (12)
- chroot (12)
- cleanpath (12)
- close (12)
- close! (12)
- compile (12)
-
compile
_ file (12) - create (24)
-
create
_ makefile (12) - ctime (12)
- delete (12)
- descend (24)
- directory? (12)
- dirname (12)
-
drb
/ ssl (12) -
each
_ child (32) -
each
_ filename (12) - empty? (9)
- entries (12)
- executable? (12)
-
executable
_ real? (12) - execute (24)
- exist? (12)
- exists? (9)
- extname (12)
-
extra
_ rdoc _ files= (12) - fdatasync (12)
- file? (24)
- filename (12)
- find (12)
- flush (12)
- fnmatch (24)
- fnmatch? (24)
-
for
_ fd (3) - foreach (90)
- formatter (12)
-
from
_ file _ by _ path (24) - ftype (12)
- get (24)
-
get
_ file _ uri _ path (12) - grpowned? (12)
- home (24)
- irb (12)
- join (12)
- lchmod (12)
- lchown (12)
- load (12)
- logger (12)
- lstat (12)
-
make
_ link (12) -
make
_ symlink (12) -
matching
_ file? (12) -
matching
_ files (12) - mkdir (12)
- mkpath (12)
- mlsd (20)
- mtime (12)
- new (111)
- open (192)
-
open
_ uri (24) -
open
_ uri _ or _ path (12) - owned? (12)
-
parse
_ file (10) - path= (12)
- pathmap (24)
- pipe? (12)
- post (24)
- rdoc (12)
- read (48)
-
read
_ body (24) - readable? (12)
-
readable
_ real? (12) - readlines (48)
- readlink (42)
- realdirpath (12)
- realpath (36)
-
remove
_ dir (12) -
remove
_ entry (12) -
remove
_ entry _ secure (12) -
remove
_ file (12) - rename (12)
- reopen (36)
-
require
_ relative (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 8 . 5 feature (12) -
ruby 1
. 9 feature (12) -
rubygems
/ commands / generate _ index _ command (12) -
rubygems
/ commands / mirror _ command (12) -
set
_ params (12) - setgid? (12)
- setuid? (12)
- size (12)
- size? (24)
- socket? (12)
- spawn (48)
- split (42)
-
split
_ all (12) - stat (12)
- sticky? (12)
- symlink? (12)
- system (28)
-
test
/ unit (1) -
to
_ path (24) -
to
_ s (12) - truncate (54)
-
try
_ file (12) - unlink (30)
- utime (12)
-
verify
_ gem _ file (12) -
world
_ readable? (24) -
world
_ writable? (24) - writable? (12)
-
writable
_ real? (12) -
write
_ require _ paths _ file _ if _ needed (12) - zero? (12)
- セキュリティモデル (12)
- 変数と定数 (12)
検索結果
先頭5件
-
File
# to _ path -> String (15162.0) -
オープン時に使用したパスを文字列で返します。
...、
File::Constants::TMPFILEオプション付きで作成されていたりする場合です。
//emlist[例][ruby]{
File.open("testfile") {|f| f.path } #=> "testfile"
File.open("/tmp/../tmp/xxx", "w") {|f| f.path } #=> "/tmp/../tmp/xxx"
File.open("/tmp", File::R......DWR | File::TMPFILE){|f| f.path } #=> "/tmp"
//}......Error TMPFILE File::Constants::TMPFILEオプション付きで作成されている場合に発生します。
//emlist[例][ruby]{
File.open("testfile") {|f| f.path } #=> "testfile"
File.open("/tmp/../tmp/xxx", "w") {|f| f.path } #=> "/tmp/../tmp/xxx"
File.open("/......tmp", File::RDWR | File::TMPFILE){|f| f.path } # IOError: File is unnamed (TMPFILE?)
//}... -
File
:: PATH _ SEPARATOR -> ";" | ":" (15117.0) -
PATH 環境変数の要素のセパレータです。UNIX では ":" MS-DOS な どでは ";" です。
...
PATH 環境変数の要素のセパレータです。UNIX では ":" MS-DOS な
どでは ";" です。... -
Gem
:: Format . from _ file _ by _ path(file _ path , security _ policy = nil) -> Gem :: Format (12416.0) -
@todo security_policy
...@todo security_policy
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
@param file_path Gem ファイルへのパスを指定します。
@param security_policy ???... -
Gem
:: OldFormat . from _ file _ by _ path(file _ path) -> Gem :: OldFormat (12416.0) -
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
...Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
@param file_path Gem ファイルへのパスを指定します。... -
Gem
:: RemoteFetcher # get _ file _ uri _ path(uri) -> String (12218.0) -
与えられた URI から "file://" を取り除いた文字列を返します。
...与えられた URI から "file://" を取り除いた文字列を返します。
@param uri URI を表す文字列を指定します。... -
File
. fnmatch(pattern , path , flags = 0) -> bool (9328.0) -
ファイル名のパターンマッチ fnmatch(3) を行います。 path が pattern にマッチすれば真を返します。そうでない場合には false を返します。
...ファイル名のパターンマッチ fnmatch(3) を行います。
path が pattern にマッチすれば真を返します。そうでない場合には false を返します。
@param pattern パターンを文字列で指定します。ワイルドカードとして `*',
`**`,......`?', `[]', `{}' が使用できます。
//emlist[例][ruby]{
%w(foo foobar bar).each {|f|
p File.fnmatch("foo*", f)
}
# => true
# true
# false
//}
@param path パスを表す文字列を指定します。
@param flags パターンマッチの動作を以下で述べる定数の論理和......る定数は以下のとおりです。
これらの定数は File::Constants で定義されていますが、
File クラスの親クラスの IO が File::Constants をインクルードしているので、
これらの定数は File::FNM_NOESCAPE などとして参照可能です。
: FNM_NOES... -
File
. fnmatch?(pattern , path , flags = 0) -> bool (9328.0) -
ファイル名のパターンマッチ fnmatch(3) を行います。 path が pattern にマッチすれば真を返します。そうでない場合には false を返します。
...ファイル名のパターンマッチ fnmatch(3) を行います。
path が pattern にマッチすれば真を返します。そうでない場合には false を返します。
@param pattern パターンを文字列で指定します。ワイルドカードとして `*',
`**`,......`?', `[]', `{}' が使用できます。
//emlist[例][ruby]{
%w(foo foobar bar).each {|f|
p File.fnmatch("foo*", f)
}
# => true
# true
# false
//}
@param path パスを表す文字列を指定します。
@param flags パターンマッチの動作を以下で述べる定数の論理和......る定数は以下のとおりです。
これらの定数は File::Constants で定義されていますが、
File クラスの親クラスの IO が File::Constants をインクルードしているので、
これらの定数は File::FNM_NOESCAPE などとして参照可能です。
: FNM_NOES... -
File
. new(path , mode = "r" , perm = 0666) -> File (9316.0) -
path で指定されるファイルをオープンし、File オブジェクトを生成して 返します。
...
path で指定されるファイルをオープンし、File オブジェクトを生成して
返します。
path が整数の場合はファイルディスクリプタとして扱い、それに対応する
File オブジェクトを生成して返します。IO.open と同じです。
ブロ......して呼び出した場合は、File オブジェクトを引数として
ブロックを実行します。ブロックの実行が終了すると、ファイルは自動的に
クローズされます。ブロックの実行結果を返します。
@param path ファイルを文字列で指定し......mlist[例: File.new による読み込みモードでのファイルオープン][ruby]{
f = File.new("testfile", "r")
f.class # => File
f.close
//}
//emlist[例: File.open による読み込みモードでのファイルオープン][ruby]{
f = File.open("testfile", "r")
f.class # => File
f.close... -
File
. open(path , mode = "r" , perm = 0666) -> File (9316.0) -
path で指定されるファイルをオープンし、File オブジェクトを生成して 返します。
...
path で指定されるファイルをオープンし、File オブジェクトを生成して
返します。
path が整数の場合はファイルディスクリプタとして扱い、それに対応する
File オブジェクトを生成して返します。IO.open と同じです。
ブロ......して呼び出した場合は、File オブジェクトを引数として
ブロックを実行します。ブロックの実行が終了すると、ファイルは自動的に
クローズされます。ブロックの実行結果を返します。
@param path ファイルを文字列で指定し......mlist[例: File.new による読み込みモードでのファイルオープン][ruby]{
f = File.new("testfile", "r")
f.class # => File
f.close
//}
//emlist[例: File.open による読み込みモードでのファイルオープン][ruby]{
f = File.open("testfile", "r")
f.class # => File
f.close...