720件ヒット
[1-100件を表示]
(0.113秒)
ライブラリ
クラス
-
ARGF
. class (38) - IO (19)
-
Net
:: FTP (60) -
Net
:: HTTPResponse (12) -
Net
:: IMAP (12) -
Net
:: IMAP :: ResponseCode (24) -
Net
:: IMAP :: ResponseText (12) -
OpenSSL
:: OCSP :: BasicResponse (12) -
RDoc
:: CodeObject (216) - Refinement (4)
- String (153)
- StringIO (38)
-
URI
:: FTP (24) -
Win32
:: Registry :: Error (12) -
Zlib
:: GzipFile (12)
モジュール
-
CGI
:: HtmlExtension (24) -
RSS
:: ContentModel (24) - RakeFileUtils (24)
キーワード
- codepoints (59)
- comment (12)
- comment= (12)
-
content
_ encoded (12) -
content
_ encoded= (12) - data (12)
-
document
_ children (12) -
document
_ children= (12) -
document
_ self (12) -
document
_ self= (12) - documented? (12)
-
each
_ codepoint (84) - encode (36)
- encode! (24)
- form (24)
-
import
_ methods (4) - kconv (12)
-
last
_ response (12) -
last
_ response _ code (12) - lastresp (12)
- name (12)
- nowrite (12)
-
os
_ code (12) - parent (12)
- parent= (12)
-
parent
_ file _ name (12) -
parent
_ name (12) -
remove
_ classes _ and _ modules (12) -
remove
_ methods _ etc (12) -
return
_ code (12) -
return
_ code= (12) - section (12)
- section= (12)
-
start
_ doc (12) - status (12)
-
stop
_ doc (12) - typecode (12)
- typecode= (12)
-
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) - verbose (12)
- xlist (12)
検索結果
先頭5件
-
Net
:: IMAP :: ResponseText # code -> Net :: IMAP :: ResponseCode | nil (21302.0) -
レスポンスコードを返します。
...レスポンスコードを返します。
応答がレスポンスコードを含んでいない場合は nil を返します。
@see Net::IMAP::ResponseCode... -
Net
:: HTTPResponse # code -> String (21208.0) -
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 -
String
# unicode _ normalize!(form = :nfc) -> self (12301.0) -
self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し た文字列に置き換えます。
...nicode 正規化し
た文字列に置き換えます。
(gsub!などと異なり)変換が行なわれなくても self を返します。
@param form 正規化形式を :nfc、:nfd、:nfkc、:nfkd のいずれかで指定しま
す。省略した場合は :nfc になります。
@ra......rror self が Unicode 文字列ではない場合
に発生します。
//emlist[例][ruby]{
text = "a\u0300"
text.unicode_normalize!(:nfc)
text == "\u00E0" # => true
text.unicode_normalize!(:nfd)
text == "a\u0300" # => true
//}
@see Str......ing#unicode_normalize, String#unicode_normalized?... -
String
# unicode _ normalize(form = :nfc) -> String (12301.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
# unicode _ normalized?(form = :nfc) -> bool (12301.0) -
self が引数 form で指定された正規化形式で Unicode 正規化された文字列か どうかを返します。
...orm で指定された正規化形式で 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 (12202.0) -
サーバからの最後の応答のコードを文字列で返します。
...サーバからの最後の応答のコードを文字列で返します。
例えばログイン(Net::FTP#login)に成功した場合には
"230" を返します。
数字の意味は 959 参照してください。
@see Net::FTP#last_response... -
Net
:: FTP # return _ code -> String (12202.0) -
このメソッドは obsolete です。使わないでください。
このメソッドは obsolete です。使わないでください。
"\n" を返します。 -
Net
:: FTP # return _ code=(string) (12202.0) -
このメソッドは obsolete です。使わないでください。
このメソッドは obsolete です。使わないでください。