691件ヒット
[1-100件を表示]
(0.191秒)
ライブラリ
クラス
-
ARGF
. class (36) - IO (36)
-
Net
:: FTP (55) -
Net
:: HTTPResponse (11) -
Net
:: IMAP (11) -
Net
:: IMAP :: ResponseCode (22) -
Net
:: IMAP :: ResponseText (11) -
OpenSSL
:: Config (11) -
OpenSSL
:: OCSP :: BasicResponse (11) -
RDoc
:: CodeObject (198) - Refinement (3)
- String (140)
- StringIO (36)
-
URI
:: FTP (22) -
Win32
:: Registry :: Error (11) -
Zlib
:: GzipFile (11)
モジュール
-
CGI
:: HtmlExtension (22) -
RSS
:: ContentModel (22) - RakeFileUtils (22)
キーワード
- codepoints (64)
- comment (11)
- comment= (11)
-
content
_ encoded (11) -
content
_ encoded= (11) - data (11)
-
document
_ children (11) -
document
_ children= (11) -
document
_ self (11) -
document
_ self= (11) - documented? (11)
- each (11)
-
each
_ codepoint (88) - encode (33)
- encode! (22)
- form (22)
-
import
_ methods (3) - kconv (11)
-
last
_ response (11) -
last
_ response _ code (11) - lastresp (11)
- name (11)
- nowrite (11)
-
os
_ code (11) - parent (11)
- parent= (11)
-
parent
_ file _ name (11) -
parent
_ name (11) -
remove
_ classes _ and _ modules (11) -
remove
_ methods _ etc (11) -
return
_ code (11) -
return
_ code= (11) - section (11)
- section= (11)
-
start
_ doc (11) - status (11)
-
stop
_ doc (11) - typecode (11)
- typecode= (11)
-
unicode
_ normalize (10) -
unicode
_ normalize! (10) -
unicode
_ normalized? (10) - verbose (11)
- xlist (11)
検索結果
先頭5件
-
Net
:: IMAP :: ResponseText # code -> Net :: IMAP :: ResponseCode | nil (21302.0) -
レスポンスコードを返します。
...レスポンスコードを返します。
応答がレスポンスコードを含んでいない場合は nil を返します。
@see Net::IMAP::ResponseCode... -
Net
:: HTTPResponse # code -> String (21208.0) -
HTTP のリザルトコードです。例えば '302' などです。
...HTTP のリザルトコードです。例えば '302' などです。
この値を見ることでレスポンスの種類を判別できますが、
レスポンスオブジェクトがどのクラスのインスタンスかを
見ることでもレスポンスの種類を判別できます。
//......emlist[例][ruby]{
require 'net/http'
uri = "http://www.example.com/index.html"
response = Net::HTTP.get_response(URI.parse(uri))
response.code # => "200"
//}... -
Win32
:: Registry :: Error # code (21102.0) -
@todo
...@todo... -
RSS
:: ContentModel # content _ encoded (15201.0) -
@todo
...@todo... -
RSS
:: ContentModel # content _ encoded= (15201.0) -
@todo
...@todo... -
String
# codepoints {|codepoint| block } -> self (12301.0) -
文字列の各コードポイントの配列を返します。(self.each_codepoint.to_a と同じです)
...ch_codepoint.to_a と同じです)
//emlist[例][ruby]{
#coding:UTF-8
"hello わーるど".codepoints
# => [104, 101, 108, 108, 111, 32, 12431, 12540, 12427, 12393]
//}
ブロックが指定された場合は String#each_codepoint と同じように動作します。
Ruby 2.6 までは deprecated......の警告が出ますが、Ruby 2.7 で警告は削除されました。
@see String#each_codepoint... -
String
# each _ codepoint {|codepoint| block } -> self (12301.0) -
文字列の各コードポイントに対して繰り返します。
...ントに対して繰り返します。
UTF-8/UTF-16(BE|LE)/UTF-32(BE|LE) 以外のエンコーディングに対しては
各文字のバイナリ表現由来の値になります。
//emlist[例][ruby]{
#coding:UTF-8
"hello わーるど".each_codepoint.to_a
# => [104, 101, 108, 108, 111, 32, 124......31, 12540, 12427, 12393]
"hello わーるど".encode('euc-jp').each_codepoint.to_a
# => [104, 101, 108, 108, 111, 32, 42223, 41404, 42219, 42185]
//}
@see String#codepoints... -
StringIO
# codepoints {|codepoint| . . . } -> self (12301.0) -
自身の各コードポイントに対して繰り返します。
...自身の各コードポイントに対して繰り返します。
@see IO#each_codepoint... -
StringIO
# each _ codepoint {|codepoint| . . . } -> self (12301.0) -
自身の各コードポイントに対して繰り返します。
...自身の各コードポイントに対して繰り返します。
@see IO#each_codepoint... -
URI
:: FTP # typecode=(t) (12208.0) -
ファイル転送のタイプを文字列で指定します。
...ル転送のタイプを文字列で指定します。
@param t ファイル転送のタイプを文字列で指定します。"a" はテキスト、"i" はバイナリ、"d" はディレクトリを表します。
@raise URI::InvalidComponentError 不正な引数 s に対して発生します。...