1098件ヒット
[201-300件を表示]
(0.080秒)
ライブラリ
- ビルトイン (798)
-
cgi
/ session (12) - csv (96)
- digest (12)
-
irb
/ input-method (12) -
irb
/ magic-file (24) -
net
/ pop (12) - open-uri (24)
- pathname (12)
-
rubygems
/ format (12) -
rubygems
/ old _ format (12) - tempfile (60)
-
webrick
/ httpservlet / filehandler (12)
クラス
-
CGI
:: Session (12) - CSV (96)
-
Digest
:: Base (12) - Dir (176)
- File (480)
-
File
:: Stat (12) -
Gem
:: Format (12) -
Gem
:: OldFormat (12) - IO (84)
-
IRB
:: FileInputMethod (12) -
Net
:: POP3 (12) - Pathname (12)
-
RubyVM
:: InstructionSequence (36) - Tempfile (60)
-
WEBrick
:: HTTPServlet :: DefaultFileHandler (12)
モジュール
- OpenURI (24)
-
RubyVM
:: AbstractSyntaxTree (10)
オブジェクト
-
IRB
:: MagicFile (24)
キーワード
-
absolute
_ path (12) -
absolute
_ path? (6) - blockdev? (12)
- certs (12)
- chardev? (12)
- chroot (12)
- compile (12)
-
compile
_ file (12) - create (24)
- directory? (12)
-
each
_ child (32) - empty? (9)
- entries (12)
- executable? (12)
-
executable
_ real? (12) - exist? (12)
- exists? (9)
- file? (12)
- fnmatch (12)
- fnmatch? (12)
-
for
_ fd (3) - foreach (72)
-
from
_ file _ by _ path (24) - grpowned? (12)
- home (24)
- join (12)
- mkdir (12)
- new (111)
- open (150)
-
open
_ uri (24) - owned? (12)
-
parse
_ file (10) - pipe? (12)
- read (48)
- readable? (12)
-
readable
_ real? (12) - readlines (48)
- readlink (12)
- realdirpath (12)
- realpath (12)
- setgid? (12)
- setuid? (12)
- size (12)
- size? (12)
- socket? (12)
- split (12)
- sticky? (12)
- symlink? (12)
- truncate (12)
-
world
_ readable? (12) -
world
_ writable? (12) - writable? (12)
-
writable
_ real? (12) - zero? (12)
検索結果
先頭5件
-
File
. world _ writable?(path) -> bool (9130.0) -
path が全てのユーザから書き込めるならば、そのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。
...
path が全てのユーザから書き込めるならば、そのファイルのパーミッションを表す
整数を返します。そうでない場合は nil を返します。
整数の意味はプラットフォームに依存します。
@param path パスを表す文字列か IO オブ......ジェクトを指定します。
//emlist[例][ruby]{
m = File.world_writable?("/tmp")
"%o" % m #=> "777"
//}... -
File
. readlink(path) -> String (9126.0) -
シンボリックリンクのリンク先のパスを文字列で返します。
...@param path シンボリックリンクを表す文字列を指定します。
@raise Errno::EXXX 指定された path がシンボリックリンクでない場合や、リンクの読み取りに失敗した場合に発生します。
//emlist[例:][ruby]{
IO.write("testfile", "test")
File.symli......nk("testfile", "testlink") # => 0
File.readlink("testlink") # => "testfile"
//}... -
File
. exists?(path) -> bool (9118.0) -
このメソッドは Ruby 2.1 から deprecated です。File.exist? を使用してください。
...このメソッドは Ruby 2.1 から deprecated です。File.exist? を使用してください。... -
File
. split(pathname) -> [String] (9113.0) -
pathname を dirname とbasename に分割して、2 要 素の配列を返します。
...
pathname を dirname とbasename に分割して、2 要
素の配列を返します。
//emlist[][ruby]{
[File.dirname(pathname), File.basename(pathname)]
//}
と同じです。
@param pathname パス名を表す文字列を指定します。... -
File
. empty?(path) -> bool (9109.0) -
FileTest.#zero? と同じです。
...
FileTest.#zero? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
File
. zero?(path) -> bool (9109.0) -
FileTest.#zero? と同じです。
...
FileTest.#zero? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
File
. blockdev?(path) -> bool (9108.0) -
FileTest.#blockdev? と同じです。
...
FileTest.#blockdev? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。
@see FileTest.#blockdev?... -
File
. chardev?(path) -> bool (9108.0) -
FileTest.#chardev? と同じです。
...
FileTest.#chardev? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
File
. directory?(path) -> bool (9108.0) -
FileTest.#directory? と同じです。
...
FileTest.#directory? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
File
. executable?(path) -> bool (9108.0) -
FileTest.#executable? と同じです。
...
FileTest.#executable? と同じです。
@param path パスを表す文字列を指定します。...