410件ヒット
[1-100件を表示]
(0.179秒)
ライブラリ
- ビルトイン (99)
-
net
/ ftp (18) -
net
/ http (88) - openssl (66)
- pathname (77)
-
rubygems
/ remote _ fetcher (11) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - socket (11)
- tempfile (22)
クラス
- Dir (22)
- File (22)
-
File
:: Stat (11) -
Gem
:: RemoteFetcher (11) - IO (44)
-
Net
:: FTP (18) -
Net
:: HTTP (44) -
Net
:: HTTPGenericRequest (22) -
Net
:: HTTPResponse (22) -
OpenSSL
:: SSL :: SSLContext (44) -
OpenSSL
:: X509 :: Store (22) - Pathname (77)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - Tempfile (22)
- UNIXSocket (11)
キーワード
- <=> (11)
-
add
_ path (11) -
body
_ stream (11) -
body
_ stream= (11) -
ca
_ path (11) -
ca
_ path= (11) -
cert
_ store= (11) - close (11)
- close! (11)
- fdatasync (11)
- get (22)
- mlsd (18)
-
open
_ uri _ or _ path (11) - opendir (22)
- post (22)
-
read
_ body (22) - reopen (33)
-
set
_ default _ paths (11) -
set
_ params (11) - sysopen (11)
-
to
_ path (33) -
to
_ s (11)
検索結果
先頭5件
-
Pathname
# open(mode = & # 39;r& # 39; , perm = 0666) -> File (27225.0) -
File.open(self.to_s, *args, &block) と同じです。
...File.open(self.to_s, *args, &block) と同じです。
@see File.open... -
Pathname
# open(mode = & # 39;r& # 39; , perm = 0666) {|file| . . . } -> object (27225.0) -
File.open(self.to_s, *args, &block) と同じです。
...File.open(self.to_s, *args, &block) と同じです。
@see File.open... -
Shell
# open(path , mode) -> File | Dir (24391.0) -
path がファイルなら、 File.open path がディレクトリなら、 Dir.open の動作をします。
...
path がファイルなら、 File.open path がディレクトリなら、 Dir.open の動作をします。
@param path 開きたいパスを指定します。
@param mode アクセスモードを指定します。path がディレクトリの場合は無視されます。
@see File.open, Dir.......open... -
Shell
:: CommandProcessor # open(path , mode) -> File | Dir (24391.0) -
path がファイルなら、 File.open path がディレクトリなら、 Dir.open の動作をします。
...
path がファイルなら、 File.open path がディレクトリなら、 Dir.open の動作をします。
@param path 開きたいパスを指定します。
@param mode アクセスモードを指定します。path がディレクトリの場合は無視されます。
@see File.open, Dir.......open... -
Shell
:: Filter # open(path , mode) -> File | Dir (24391.0) -
path がファイルなら、 File.open path がディレクトリなら、 Dir.open の動作をします。
...
path がファイルなら、 File.open path がディレクトリなら、 Dir.open の動作をします。
@param path 開きたいパスを指定します。
@param mode アクセスモードを指定します。path がディレクトリの場合は無視されます。
@see File.open, Dir.......open... -
UNIXSocket
# path -> String (21214.0) -
UNIX ソケットのパスを返します。
...UNIX ソケットのパスを返します。
クライアント側はパスを持たないため空文字列となります。
例:
require 'socket'
UNIXServer.open("/tmp/s") {|serv|
p serv.path #=> "/tmp/s"
}... -
Gem
:: RemoteFetcher # open _ uri _ or _ path(uri , last _ modified = nil , head = false , depth = 0) -> StringIO | File (18303.0) -
@param uri URI を指定します。
@param uri URI を指定します。
@param last_modified 最終更新時刻を指定します。
@param head 真を指定するとヘッダ情報のみ取得します。
@param depth 現在のリダイレクト回数を指定します。
@raise Gem::RemoteFetcher::FetchError デフォルトでは 11 回リダイレクトした場合に発生します。
depth を指定すると 10 - depth 回より多くリダイレクトした場合にこの例外が発生するようになります。
また HTTP のレスポンスが想定外のものの場合にも発生します。... -
File
# path -> String (18239.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"
//}......FILE 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", Fil......e::RDWR | File::TMPFILE){|f| f.path } # IOError: File is unnamed (TMPFILE?)
//}... -
Dir
# path -> String (18221.0) -
オープンしているディレクトリのパス名を文字列で返します。
...オープンしているディレクトリのパス名を文字列で返します。
//emlist[例][ruby]{
Dir.open("..") do |d|
d.path # => ".."
d.to_path # => ".."
end
//}... -
Pathname
# opendir -> Dir (15223.0) -
Dir.open(self.to_s, &block) と同じです。
...Dir.open(self.to_s, &block) と同じです。
@see Dir.open... -
Pathname
# opendir {|dir| . . . } -> nil (15223.0) -
Dir.open(self.to_s, &block) と同じです。
...Dir.open(self.to_s, &block) と同じです。
@see Dir.open...