751件ヒット
[1-100件を表示]
(0.210秒)
ライブラリ
クラス
-
ARGF
. class (38) - IO (38)
-
Net
:: FTP (60) -
Net
:: HTTPResponse (12) -
Net
:: IMAP (12) -
Net
:: IMAP :: ResponseCode (24) -
Net
:: IMAP :: ResponseText (12) -
OpenSSL
:: Config (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 (66)
- 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 (12)
-
each
_ codepoint (96) - 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 (27402.0) -
レスポンスコードを返します。
...レスポンスコードを返します。
応答がレスポンスコードを含んでいない場合は nil を返します。
@see Net::IMAP::ResponseCode... -
Net
:: HTTPResponse # code -> String (24208.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 (24202.0) -
@todo
@todo -
RSS
:: ContentModel # content _ encoded (21301.0) -
@todo
@todo -
RSS
:: ContentModel # content _ encoded= (21301.0) -
@todo
@todo -
Net
:: FTP # return _ code -> String (15202.0) -
このメソッドは obsolete です。使わないでください。
...このメソッドは obsolete です。使わないでください。
"\n" を返します。... -
Net
:: FTP # return _ code=(string) (15202.0) -
このメソッドは obsolete です。使わないでください。
...このメソッドは obsolete です。使わないでください。... -
String
# codepoints {|codepoint| block } -> self (12401.0) -
文字列の各コードポイントの配列を返します。(self.each_codepoint.to_a と同じです)
...self.each_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 までは dep......recated の警告が出ますが、Ruby 2.7 で警告は削除されました。
@see String#each_codepoint... -
String
# encode!(encoding , from _ encoding , options = nil) -> self (12401.0) -
self を指定したエンコーディングに変換し、自身を置き換えます。引数を2つ 与えた場合、第二引数は変換元のエンコーディングを意味します。さもなくば self のエンコーディングが使われます。変換後の self を返します。
...self を指定したエンコーディングに変換し、自身を置き換えます。引数を2つ
与えた場合、第二引数は変換元のエンコーディングを意味します。さもなくば
self のエンコーディングが使われます。変換後の self を返します。......ても self を返します。
@param encoding 変換先のエンコーディングを表す文字列か Encoding オブジェクトを指定します。
@param from_encoding 変換元のエンコーディングを表す文字列か Encoding オブジェクトを指定します。
@return......変換後のself
//emlist[例][ruby]{
#coding:UTF-8
s = "いろは"
s.encode!("EUC-JP")
s.encode!(Encoding::UTF_8)
//}
@see String#encode...