るりまサーチ

最速Rubyリファレンスマニュアル検索!
36件ヒット [1-36件を表示] (0.008秒)
トップページ > クエリ:field[x] > 種類:特異メソッド[x]

別のキーワード

  1. cgi text_field
  2. cgi file_field
  3. cgi password_field
  4. cgi/html text_field
  5. cgi/html file_field

ライブラリ

クラス

キーワード

検索結果

CSV::Row.new(headers, fields, header_row = false) -> CSV::Row (107.0)

自身を初期化します。

...配列よりも短い場合、不足しているところは nil になります。

@param headers ヘッダの配列を指定します。

@param fields フィールドの配列を指定します。

@param header_row ヘッダ行である場合は真を指定します。そうでない場合は...
...CSV::Row.new(["header1", "header2"], ["row1_1", "row1_2"])
row2 = CSV::Row.new(["header1", "header2"], ["row2_1", "row2_2"])
table = CSV::Table.new([row1, row2])
table.to_a # => [["header1", "header2"], ["row1_1", "row1_2"], ["row2_1", "row2_2"]]
//}

@see CSV::Row#header_row?, CSV::Row#field_row?...

OpenSSL::PKey::EC.builtin_curves -> [[String, String]] (25.0)

組み込みの曲線の名前と、それに対する説明を文字列の配列ペアの配列で返します。

..."secp112r1", "SECG/WTLS curve over a 112 bit prime field"],
# ["secp112r2", "SECG curve over a 112 bit prime field"],
# ["secp128r1", "SECG curve over a 128 bit prime field"],
# ["secp128r2", "SECG curve over a 128 bit prime field"],
# ... ]

@see OpenSSL::PKey::EC::Group.n...

CSV.new(data, options = Hash.new) -> CSV (19.0)

このメソッドは CSV ファイルを読み込んだり、書き出したりするために String か IO のインスタンスをラップします。

...データの先頭から次の "\r\n", "\n", "\r" の並びまでを読みます。
A sequence will be selected even if it occurs in a quoted field, assuming that you
would have the same line endings there. If none of those sequences is
found, +data+ is ARGF, Object::STDIN, Object::STDOUT,...
...文字列はパースする前にデータのエンコーディングに変換されます。
: :field_size_limit
This is a maximum size CSV will read ahead looking for the closing quote
for a field. (In truth, it reads to the first line ending beyond this
size.) If a quote cannot be found...
...onverted_fields
真をセットすると CSV::Row#unconverted_fields という変換前のフィー
ルドを返すメソッドを全ての行に追加します。headers オプションによって
追加したヘッダはフィールドではないので
CSV::Row#unconverted_fields は空...