66件ヒット
[1-66件を表示]
(0.146秒)
種類
- 特異メソッド (44)
- インスタンスメソッド (22)
クラス
- CSV (33)
モジュール
- Readline (33)
キーワード
-
basic
_ quote _ characters (11) -
completer
_ quote _ characters (11) -
filename
_ quote _ characters (11) - inspect (11)
- new (11)
検索結果
先頭5件
-
CSV
# quote _ char -> String (24313.0) -
フィールドをクオートするのに使用する文字列を返します。
...フィールドをクオートするのに使用する文字列を返します。
//emlist[例][ruby]{
require "csv"
csv = CSV.new("header1,header2\nrow1_1,row1_2", quote_char: "'")
csv.quote_char # => "'"
//}
@see CSV.new... -
Readline
. basic _ quote _ characters -> String (12300.0) -
スペースなどの単語の区切りをクオートするための 複数の文字で構成される文字列を取得します。
...スペースなどの単語の区切りをクオートするための
複数の文字で構成される文字列を取得します。
@raise NotImplementedError サポートしていない環境で発生します。
@see Readline.basic_quote_characters=... -
Readline
. completer _ quote _ characters -> String (12300.0) -
ユーザの入力の補完を行う際、スペースなどの単語の区切りを クオートするための複数の文字で構成される文字列を取得します。
...ーザの入力の補完を行う際、スペースなどの単語の区切りを
クオートするための複数の文字で構成される文字列を取得します。
@raise NotImplementedError サポートしていない環境で発生します。
@see Readline.completer_quote_characters=... -
Readline
. filename _ quote _ characters -> String (12300.0) -
ユーザの入力時にファイル名の補完を行う際、スペースなどの単語の区切りを クオートするための複数の文字で構成される文字列を取得します。
...ファイル名の補完を行う際、スペースなどの単語の区切りを
クオートするための複数の文字で構成される文字列を取得します。
@raise NotImplementedError サポートしていない環境で発生します。
@see Readline.filename_quote_characters=... -
CSV
# inspect -> String (212.0) -
ASCII 互換文字列で自身の情報を表したものを返します。
...ASCII 互換文字列で自身の情報を表したものを返します。
//emlist[例][ruby]{
require "csv"
csv = CSV.new("header1,header2\nrow1_1,row1_2")
csv.inspect # => "<#CSV io_type:StringIO encoding:UTF-8 lineno:0 col_sep:\",\" row_sep:\"\\n\" quote_char:\"\\\"\">"
//}... -
CSV
. new(data , options = Hash . new) -> CSV (148.0) -
このメソッドは CSV ファイルを読み込んだり、書き出したりするために String か IO のインスタンスをラップします。
...読み込んだり、書き出したりするために
String か IO のインスタンスをラップします。
ラップされた文字列の先頭から読み込むことになります。
文字列に追記したい場合は CSV.generate を使用してください。
他の位置から処理......or the stream is only available for output, the default
$INPUT_RECORD_SEPARATOR ($/) is used. Obviously,
discovery takes a little time. Set manually if speed is important. Also
note that IO objects should be opened in binary mode on Windows if this
feature will be used as the line-e......nding translation can cause
problems with resetting the document position to where it was before the
read ahead. This String will be transcoded into the data's Encoding before parsing.
: :quote_char
フィールドをクオートする文字を指定します。長さ 1 の文字列でな...