1001件ヒット
[1-100件を表示]
(0.089秒)
ライブラリ
クラス
-
ARGF
. class (38) - IO (31)
-
Net
:: FTP (36) -
Net
:: HTTPResponse (24) -
Net
:: IMAP (36) -
Net
:: IMAP :: ResponseCode (24) -
Net
:: IMAP :: ResponseText (12) -
OpenSSL
:: Config (12) -
OpenSSL
:: OCSP :: BasicResponse (12) -
RDoc
:: CodeObject (120) - String (93)
- StringIO (31)
-
URI
:: FTP (36) - WIN32OLE (36)
モジュール
- Base64 (72)
-
CGI
:: HtmlExtension (24) - Digest (12)
-
ERB
:: Util (12) - Kconv (12)
-
OpenSSL
:: ASN1 (24) -
OpenSSL
:: X509 (12) - RakeFileUtils (24)
- URI (76)
-
WEBrick
:: HTTPStatus (96)
キーワード
-
CODE
_ CLASS _ TO _ OBJ (12) -
CODE
_ TO _ OBJ (12) - HMAC (12)
-
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - ResponseCode (12)
- Ruby用語集 (12)
-
V
_ ERR _ UNABLE _ TO _ DECODE _ ISSUER _ PUBLIC _ KEY (12) - [] (12)
-
client
_ error? (12) - codepage (12)
- codepage= (12)
- codepoints (52)
- data (12)
- decode (19)
- decode64 (12)
-
decode
_ all (12) -
decode
_ utf7 (12) -
decode
_ www _ form (12) -
decode
_ www _ form _ component (12) -
document
_ children= (12) -
document
_ self= (12) - drb (12)
- each (12)
-
each
_ codepoint (96) - encode (7)
- encode64 (12)
-
encode
_ utf7 (12) -
encode
_ www _ form (12) -
encode
_ www _ form _ component (12) - error? (12)
- escape (7)
- form (24)
- hexencode (12)
- info? (12)
- kconv (24)
-
last
_ response (12) -
last
_ response _ code (12) - lastresp (12)
- locale= (12)
- name (12)
- new2 (12)
- nowrite (12)
- parent (12)
- parent= (12)
-
parent
_ file _ name (12) -
parent
_ name (12) - rake (12)
-
rdoc
/ generator / json _ index (12) -
rdoc
/ markdown (12) -
reason
_ phrase (12) - redirect? (12)
-
remove
_ classes _ and _ modules (12) - section= (12)
-
server
_ error? (12) -
start
_ doc (12) - status (12)
-
strict
_ decode64 (12) -
strict
_ encode64 (12) - success? (12)
- typecode (12)
- typecode= (12)
- unescape (7)
-
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) -
url
_ encode (12) -
urlsafe
_ decode64 (12) -
urlsafe
_ encode64 (12) - verbose (12)
- xlist (12)
- xmlrpc (3)
検索結果
先頭5件
-
Net
:: IMAP :: ResponseText # code -> Net :: IMAP :: ResponseCode | nil (21301.0) -
レスポンスコードを返します。
...レスポンスコードを返します。
応答がレスポンスコードを含んでいない場合は nil を返します。
@see Net::IMAP::ResponseCode... -
String
# each _ codepoint {|codepoint| block } -> self (12312.0) -
文字列の各コードポイントに対して繰り返します。
...ます。
//emlist[例][ruby]{
#coding:UTF-8
"hello わーるど".each_codepoint.to_a
# => [104, 101, 108, 108, 111, 32, 12431, 12540, 12427, 12393]
"hello わーるど".encode('euc-jp').each_codepoint.to_a
# => [104, 101, 108, 108, 111, 32, 42223, 41404, 42219, 42185]
//}
@see String#codepoints... -
Net
:: HTTPResponse :: CODE _ CLASS _ TO _ OBJ -> Hash (12307.0) -
HTTP レスポンスステータスコードの最初の数字からレスポンスのクラス(分類)を あらわすクラスへのハッシュです。
...HTTP レスポンスステータスコードの最初の数字からレスポンスのクラス(分類)を
あらわすクラスへのハッシュです。
//emlist[][ruby]{
require 'net/http'
Net::HTTPResponse::CODE_CLASS_TO_OBJ['3'] # => Net::HTTPRedirection
//}... -
StringIO
# each _ codepoint {|codepoint| . . . } -> self (12300.0) -
自身の各コードポイントに対して繰り返します。
...自身の各コードポイントに対して繰り返します。
@see IO#each_codepoint... -
String
# unicode _ normalize(form = :nfc) -> String (12218.0) -
self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し た文字列を返します。
...正規化形式で Unicode 正規化し
た文字列を返します。
@param form 正規化形式を :nfc、:nfd、:nfkc、:nfkd のいずれかで指定しま
す。省略した場合は :nfc になります。
@raise Encoding::CompatibilityError self が Unicode 文字列ではな......い場合
に発生します。
このメソッドでの "Unicode 文字列" とは、UTF-8、UTF-16BE/LE、
UTF-32BE/LE だけではなく GB18030、UCS_2BE、and UCS_4BE を含みます。
また、self が UTF-8 以外のエンコーディングであった......。
//emlist[例][ruby]{
"a\u0300".unicode_normalize # => 'à' ("\u00E0" と同じ)
"a\u0300".unicode_normalize(:nfc) # => 'à' ("\u00E0" と同じ)
"\u00E0".unicode_normalize(:nfd) # => 'à' ("a\u0300" と同じ)
"\xE0".force_encoding('ISO-8859-1').unicode_normalize(:nfd)... -
String
# each _ codepoint -> Enumerator (12212.0) -
文字列の各コードポイントに対して繰り返します。
...ます。
//emlist[例][ruby]{
#coding:UTF-8
"hello わーるど".each_codepoint.to_a
# => [104, 101, 108, 108, 111, 32, 12431, 12540, 12427, 12393]
"hello わーるど".encode('euc-jp').each_codepoint.to_a
# => [104, 101, 108, 108, 111, 32, 42223, 41404, 42219, 42185]
//}
@see String#codepoints... -
String
# unicode _ normalize!(form = :nfc) -> self (12212.0) -
self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し た文字列に置き換えます。
...icode 正規化し
た文字列に置き換えます。
(gsub!などと異なり)変換が行なわれなくても self を返します。
@param form 正規化形式を :nfc、:nfd、:nfkc、:nfkd のいずれかで指定しま
す。省略した場合は :nfc になります。
@rai......se Encoding::CompatibilityError self が Unicode 文字列ではない場合
に発生します。
//emlist[例][ruby]{
text = "a\u0300"
text.unicode_normalize!(:nfc)
text == "\u00E0" # => true
text.unicode_normalize!(:nfd)
text == "a\u0300"......# => true
//}
@see String#unicode_normalize, String#unicode_normalized?... -
String
# unicode _ normalized?(form = :nfc) -> bool (12212.0) -
self が引数 form で指定された正規化形式で Unicode 正規化された文字列か どうかを返します。
...形式で Unicode 正規化された文字列か
どうかを返します。
@param form 正規化形式を :nfc、:nfd、:nfkc、:nfkd のいずれかで指定しま
す。省略した場合は :nfc になります。
@raise Encoding::CompatibilityError self が Unicode 文字列で......す。
//emlist[例][ruby]{
"a\u0300".unicode_normalized? # => false
"a\u0300".unicode_normalized?(:nfd) # => true
"\u00E0".unicode_normalized? # => true
"\u00E0".unicode_normalized?(:nfd) # => false
"\xE0".force_encoding('ISO-8859-1').unicode_normalized?......# => Encoding::CompatibilityError raised
//}
@see String#unicode_normalize, String#unicode_normalize!... -
Net
:: FTP # last _ response _ code -> String (12201.0) -
サーバからの最後の応答のコードを文字列で返します。
...サーバからの最後の応答のコードを文字列で返します。
例えばログイン(Net::FTP#login)に成功した場合には
"230" を返します。
数字の意味は 959 参照してください。
@see Net::FTP#last_response... -
ARGF
. class # each _ codepoint -> Enumerator (12200.0) -
self の各コードポイントに対して繰り返しブロックを呼びだします。
...した場合には、Enumerator を返します。
例:
# $ echo "line1\n" > test1.txt
# $ echo "line2\n" > test2.txt
# $ ruby test.rb test1.txt test2.txt
# test.rb
ARGF.each_codepoint # => #<Enumerator: ARGF:each_codepoint>
ARGF.each_codepoint{|e|print e, ","} # => 10...