1489件ヒット
[1-100件を表示]
(0.041秒)
別のキーワード
ライブラリ
クラス
-
ARGF
. class (38) - Encoding (368)
- IO (38)
-
Net
:: FTP (48) -
Net
:: HTTPResponse (36) -
Net
:: IMAP (36) -
Net
:: IMAP :: ResponseCode (24) -
Net
:: IMAP :: ResponseText (12) -
OpenSSL
:: Config (12) -
OpenSSL
:: OCSP :: BasicResponse (12) -
RDoc
:: CodeObject (168) - Refinement (4)
- Regexp (22)
- String (153)
- StringIO (38)
-
URI
:: FTP (24) - WIN32OLE (36)
-
Zlib
:: GzipFile (12)
モジュール
- Base64 (72)
-
CGI
:: HtmlExtension (24) - Digest (12)
-
ERB
:: Util (12) - Kconv (12)
- Kernel (12)
-
OpenSSL
:: ASN1 (24) -
OpenSSL
:: X509 (12) - URI (76)
-
WEBrick
:: HTTPStatus (96) - Zlib (12)
キーワード
-
$ KCODE (12) -
CODE
_ CLASS _ TO _ OBJ (12) -
CODE
_ TO _ OBJ (12) - CP437 (12)
- CP720 (4)
- CP737 (12)
- CP775 (12)
- CP850 (12)
- CP852 (12)
- CP855 (12)
- CP857 (12)
- CP860 (12)
- CP861 (12)
- CP862 (12)
- CP863 (12)
- CP864 (12)
- CP865 (12)
- CP866 (12)
- CP869 (12)
- IBM437 (12)
- IBM720 (4)
- IBM737 (12)
- IBM775 (12)
- IBM850 (12)
- IBM852 (12)
- IBM855 (12)
- IBM857 (12)
- IBM860 (12)
- IBM861 (12)
- IBM862 (12)
- IBM863 (12)
- IBM864 (12)
- IBM865 (12)
- IBM866 (12)
- IBM869 (12)
-
NEWS for Ruby 3
. 0 . 0 (5) - NKF (12)
-
OS
_ CODE (12) -
V
_ ERR _ UNABLE _ TO _ DECODE _ ISSUER _ PUBLIC _ KEY (12) - [] (12)
-
client
_ error? (12) - codepage (12)
- codepage= (12)
- codepoints (66)
- comment (12)
- compile (11)
- 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) - documented? (12)
- each (12)
-
each
_ codepoint (96) - encode (43)
- encode! (24)
- encode64 (12)
-
encode
_ utf7 (12) -
encode
_ www _ form (12) -
encode
_ www _ form _ component (12) - error? (12)
- escape (7)
- form (24)
- hexencode (12)
-
import
_ methods (4) - info? (12)
- kconv (24)
-
last
_ response (12) -
last
_ response _ code (12) - lastresp (12)
- locale= (12)
- name (12)
- new (23)
- new2 (12)
-
os
_ code (12) - parent (12)
-
parent
_ file _ name (12) -
parent
_ name (12) -
rdoc
/ markdown (12) -
reason
_ phrase (12) - redirect? (12)
-
remove
_ classes _ and _ modules (12) -
remove
_ methods _ etc (12) -
return
_ code (12) -
rexml
/ document (12) - section (12)
-
server
_ error? (12) -
start
_ doc (12) - status (12)
-
stop
_ doc (12) -
strict
_ decode64 (12) -
strict
_ encode64 (12) - success? (12)
- typecode (12)
- unescape (7)
-
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) -
url
_ encode (12) -
urlsafe
_ decode64 (12) -
urlsafe
_ encode64 (12) - xlist (12)
- xmlrpc (3)
検索結果
先頭5件
-
Net
:: IMAP :: ResponseText # code -> Net :: IMAP :: ResponseCode | nil (18301.0) -
レスポンスコードを返します。
...レスポンスコードを返します。
応答がレスポンスコードを含んでいない場合は nil を返します。
@see Net::IMAP::ResponseCode... -
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 (6300.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 (6300.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 (6300.0) -
自身の各コードポイントに対して繰り返します。
...自身の各コードポイントに対して繰り返します。
@see IO#each_codepoint... -
StringIO
# each _ codepoint {|codepoint| . . . } -> self (6300.0) -
自身の各コードポイントに対して繰り返します。
...自身の各コードポイントに対して繰り返します。
@see IO#each_codepoint... -
ARGF
. class # each _ codepoint -> Enumerator (6218.0) -
self の各コードポイントに対して繰り返しブロックを呼びだします。
...します。
例:
# $ 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, ","} # => 108,105,110,101,49,10,108,105,110,101,50... -
ARGF
. class # each _ codepoint { |c| . . . } -> self (6218.0) -
self の各コードポイントに対して繰り返しブロックを呼びだします。
...します。
例:
# $ 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, ","} # => 108,105,110,101,49,10,108,105,110,101,50... -
Zlib
:: OS _ CODE -> Integer (6217.0) -
Zlib::GzipFile#os_code メソッドの返す値です。
...Zlib::GzipFile#os_code メソッドの返す値です。...