るりまサーチ

最速Rubyリファレンスマニュアル検索!
691件ヒット [1-100件を表示] (0.191秒)

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

検索結果

<< 1 2 3 ... > >>

Net::IMAP::ResponseText#code -> Net::IMAP::ResponseCode | nil (21302.0)

レスポンスコードを返します。

...レスポンスコードを返します。

応答がレスポンスコードを含んでいない場合は nil を返します。

@see Net::IMAP::ResponseCode...

Net::HTTPResponse#code -> String (21208.0)

HTTP のリザルトコードです。例えば '302' などです。

...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...

RSS::ContentModel#content_encoded (15201.0)

@todo

...@todo...

RSS::ContentModel#content_encoded= (15201.0)

@todo

...@todo...

絞り込み条件を変える

String#codepoints {|codepoint| block } -> self (12301.0)

文字列の各コードポイントの配列を返します。(self.each_codepoint.to_a と同じです)

...ch_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 (12301.0)

文字列の各コードポイントに対して繰り返します。

...ントに対して繰り返します。

UTF-8/UTF-16(BE|LE)/UTF-32(BE|LE) 以外のエンコーディングに対しては
各文字のバイナリ表現由来の値になります。

//emlist[例][ruby]{
#coding:UTF-8
"hello わーるど".each_codepoint.to_a
# => [104, 101, 108, 108, 111, 32, 124...
...31, 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 (12301.0)

自身の各コードポイントに対して繰り返します。

...自身の各コードポイントに対して繰り返します。

@see IO#each_codepoint...

StringIO#each_codepoint {|codepoint| ... } -> self (12301.0)

自身の各コードポイントに対して繰り返します。

...自身の各コードポイントに対して繰り返します。

@see IO#each_codepoint...

URI::FTP#typecode=(t) (12208.0)

ファイル転送のタイプを文字列で指定します。

...ル転送のタイプを文字列で指定します。

@param t ファイル転送のタイプを文字列で指定します。"a" はテキスト、"i" はバイナリ、"d" はディレクトリを表します。

@raise URI::InvalidComponentError 不正な引数 s に対して発生します。...

絞り込み条件を変える

<< 1 2 3 ... > >>