1366件ヒット
[1-100件を表示]
(0.095秒)
種類
ライブラリ
クラス
-
ARGF
. class (36) - Encoding (336)
- IO (36)
-
Net
:: FTP (55) -
Net
:: HTTPResponse (11) -
Net
:: IMAP (33) -
Net
:: IMAP :: ResponseCode (22) -
Net
:: IMAP :: ResponseText (11) -
OpenSSL
:: Config (11) -
OpenSSL
:: OCSP :: BasicResponse (11) -
RDoc
:: CodeObject (77) - Refinement (3)
- Regexp (22)
- String (140)
- StringIO (36)
-
URI
:: FTP (33) - WIN32OLE (33)
-
Win32
:: Registry :: Error (11) -
Zlib
:: GzipFile (11)
モジュール
- Base64 (66)
-
CGI
:: HtmlExtension (22) - Digest (11)
-
ERB
:: Util (11) - Kconv (11)
- Kernel (7)
-
OpenSSL
:: X509 (11) - RakeFileUtils (22)
- URI (72)
-
WEBrick
:: HTTPStatus (88) - Zlib (11)
キーワード
-
$ KCODE (7) - CP437 (11)
- CP720 (3)
- CP737 (11)
- CP775 (11)
- CP850 (11)
- CP852 (11)
- CP855 (11)
- CP857 (11)
- CP860 (11)
- CP861 (11)
- CP862 (11)
- CP863 (11)
- CP864 (11)
- CP865 (11)
- CP866 (11)
- CP869 (11)
- ConverterNotFoundError (11)
- IBM437 (11)
- IBM720 (3)
- IBM737 (11)
- IBM775 (11)
- IBM850 (11)
- IBM852 (11)
- IBM855 (11)
- IBM857 (11)
- IBM860 (11)
- IBM861 (11)
- IBM862 (11)
- IBM863 (11)
- IBM864 (11)
- IBM865 (11)
- IBM866 (11)
- IBM869 (11)
- MissingUnicodeSupport (11)
-
NEWS for Ruby 3
. 0 . 0 (4) - NKF (11)
-
OS
_ CODE (11) - ResponseCode (11)
- Ruby用語集 (11)
-
V
_ ERR _ UNABLE _ TO _ DECODE _ ISSUER _ PUBLIC _ KEY (11) - WIN32OLE (11)
- [] (11)
-
client
_ error? (11) - codepage (11)
- codepage= (11)
- codepoints (64)
- comment (11)
- compile (11)
- data (11)
- decode (7)
- decode64 (11)
-
decode
_ utf7 (11) -
decode
_ www _ form (11) -
decode
_ www _ form _ component (11) -
document
_ children (11) -
document
_ children= (11) - each (11)
-
each
_ codepoint (88) - encode (40)
- encode! (22)
- encode64 (11)
-
encode
_ utf7 (11) -
encode
_ www _ form (11) -
encode
_ www _ form _ component (11) - error? (11)
- escape (7)
- form (22)
- hexencode (11)
-
import
_ methods (3) - info? (11)
- kconv (22)
-
last
_ response (11) -
last
_ response _ code (11) - lastresp (11)
- locale= (11)
- name (11)
- new (11)
- new2 (11)
- nowrite (11)
-
os
_ code (11) -
parent
_ file _ name (11) -
parent
_ name (11) - rake (11)
-
rdoc
/ generator / json _ index (11) -
reason
_ phrase (11) - redirect? (11)
-
return
_ code (11) -
return
_ code= (11) - section (11)
- section= (11)
-
server
_ error? (11) - status (11)
-
strict
_ decode64 (11) -
strict
_ encode64 (11) - success? (11)
-
test
/ unit (11) - typecode (11)
- typecode= (11)
- unescape (7)
-
unicode
_ normalize (10) -
unicode
_ normalize! (10) -
unicode
_ normalized? (10) -
url
_ encode (11) -
urlsafe
_ decode64 (11) -
urlsafe
_ encode64 (11) - verbose (11)
- xlist (11)
- xmlrpc (3)
検索結果
先頭5件
-
IO
# each _ codepoint -> Enumerator (32212.0) -
IO の各コードポイントに対して繰り返しブロックを呼びだします。
...
IO の各コードポイントに対して繰り返しブロックを呼びだします。
ブロックの引数にはコードポイントを表す整数が渡されます。
ブロックを省略した場合には、Enumerator を返します。
//emlist[例][ruby]{
IO.write("testfile", "abcde......あ")
File.open("testfile") do |f|
f.each_codepoint { |i| p i }
end
# => 97
# 98
# 99
# 100
# 101
# 12354
//}... -
IO
# each _ codepoint {|c| . . . } -> self (32212.0) -
IO の各コードポイントに対して繰り返しブロックを呼びだします。
...
IO の各コードポイントに対して繰り返しブロックを呼びだします。
ブロックの引数にはコードポイントを表す整数が渡されます。
ブロックを省略した場合には、Enumerator を返します。
//emlist[例][ruby]{
IO.write("testfile", "abcde......あ")
File.open("testfile") do |f|
f.each_codepoint { |i| p i }
end
# => 97
# 98
# 99
# 100
# 101
# 12354
//}... -
IO
# codepoints -> Enumerator (32200.0) -
このメソッドは obsolete です。 代わりに IO#each_codepoint を使用してください。
...このメソッドは obsolete です。
代わりに IO#each_codepoint を使用してください。
使用すると警告メッセージが表示されます。
IO の各コードポイントに対して繰り返しブロックを呼びだします。
ブロックの引数にはコードポ......イントを表す整数が渡されます。
ブロックを省略した場合には、Enumerator を返します。
@see IO#each_codepoint... -
IO
# codepoints {|c| . . . } -> self (32200.0) -
このメソッドは obsolete です。 代わりに IO#each_codepoint を使用してください。
...このメソッドは obsolete です。
代わりに IO#each_codepoint を使用してください。
使用すると警告メッセージが表示されます。
IO の各コードポイントに対して繰り返しブロックを呼びだします。
ブロックの引数にはコードポ......イントを表す整数が渡されます。
ブロックを省略した場合には、Enumerator を返します。
@see IO#each_codepoint... -
Net
:: IMAP :: ResponseText # code -> Net :: IMAP :: ResponseCode | nil (21301.0) -
レスポンスコードを返します。
...レスポンスコードを返します。
応答がレスポンスコードを含んでいない場合は nil を返します。
@see Net::IMAP::ResponseCode... -
Win32
:: Registry :: Error # code (21101.0) -
@todo
@todo -
Net
:: HTTPResponse # code -> String (18207.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"
//}... -
String
# codepoints {|codepoint| block } -> self (15400.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 までは deprecated の警告が出ますが、Ruby 2.7 で警告は削除されました。
@see String#each_codepoint... -
String
# each _ codepoint {|codepoint| block } -> self (15400.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... -
StringIO
# codepoints {|codepoint| . . . } -> self (15400.0) -
自身の各コードポイントに対して繰り返します。
...自身の各コードポイントに対して繰り返します。
@see IO#each_codepoint... -
StringIO
# each _ codepoint {|codepoint| . . . } -> self (15400.0) -
自身の各コードポイントに対して繰り返します。
...自身の各コードポイントに対して繰り返します。
@see IO#each_codepoint...