532件ヒット
[501-532件を表示]
(0.094秒)
ライブラリ
- ビルトイン (88)
- csv (36)
- dbm (12)
- gdbm (12)
-
net
/ http (264) -
rubygems
/ indexer (36) -
rubygems
/ source _ index (36) - sdbm (12)
- strscan (24)
-
yaml
/ dbm (12)
クラス
-
CSV
:: Table (36) - DBM (12)
- GDBM (12)
-
Gem
:: Indexer (36) -
Gem
:: SourceIndex (36) - MatchData (12)
-
Net
:: HTTPGenericRequest (36) -
Net
:: HTTPResponse (96) - Regexp (12)
- SDBM (12)
- String (64)
- StringScanner (24)
-
YAML
:: DBM (12)
モジュール
-
Net
:: HTTPHeader (132)
キーワード
- [] (48)
-
basic
_ auth (12) - body (24)
- byteindex (3)
- byterindex (3)
- bytesplice (10)
- code (12)
- delete (12)
-
dest
_ directory (12) - directory (12)
- entity (12)
- fetch (36)
-
gem
_ signature (12) -
get
_ fields (12) - getbyte (12)
-
http
_ version (12) -
index
_ signature (12) -
main
_ type (12) - method (24)
- msg (12)
-
named
_ captures (12) - path (12)
- pointer= (12)
- pos= (12)
-
proxy
_ basic _ auth (12) -
read
_ body (24) - rindex (12)
-
sanitize
_ string (12) - setbyte (12)
-
spec
_ dirs (12) -
sub
_ type (12) -
values
_ at (12)
検索結果
先頭3件
-
Regexp
# named _ captures -> { String => [Integer] } (108.0) -
正規表現に含まれる名前付きキャプチャ(named capture)の情報を Hash で返します。
...Hash で返します。
Hash のキーは名前付きキャプチャの名前で、値は
その名前に関連付けられたキャプチャの index のリストを返します。
//emlist[例][ruby]{
/(?<foo>.)(?<bar>.)/.named_captures
# => {"foo"=>[1], "bar"=>[2]}
/(?<foo>.)(?<foo>.)/.named_... -
CSV
:: Table # [](range) -> [CSV :: Row]| [Array] | nil (10.0) -
ミックスモードでは、このメソッドは引数に行番号を指定すれば行単位で動作 し、ヘッダの名前を指定すれば列単位で動作します。
..._col! を呼び出すとカラム
モードになります。また CSV::Table#by_row! を呼び出すとロウモード
になります。
@param index ミックスモード・ロウモードでは、取得したい行の行番号を整数で指定します。
カラムモードでは... -
Net
:: HTTPResponse # read _ body {|str| . . . . } -> () (8.0) -
ブロックを与えなかった場合にはエンティティボディを 文字列で返します。 ブロックを与えた場合には エンティティボディを少しずつ取得して順次ブロックに 文字列で与えます。
...nil を返します。
//emlist[例1 ブロックを与えずに一度に結果取得][ruby]{
require 'net/http'
uri = "http://www.example.com/index.html"
response = Net::HTTP.get_response(URI.parse(uri))
response.read_body[0..10] # => "<!doctype h"
//}
//emlist[例2 ブロックを与えて大...