60件ヒット
[1-60件を表示]
(0.047秒)
オブジェクト
-
Readline
:: HISTORY (36)
検索結果
先頭5件
-
Readline
:: HISTORY . shift -> String (18233.0) -
ヒストリの最初の内容を取り出します。 最初の内容は、ヒストリから取り除かれます。
...れます。
@raise NotImplementedError サポートしていない環境で発生します。
例:
require "readline"
Readline::HISTORY.push("foo", "bar", "baz")
p Readline::HISTORY.shift #=> "foo"
p Readline::HISTORY.shift #=> "bar"
p Readline::HISTORY.shift #=> "baz"
@see Readlin... -
CGI
. pretty(string , shift = " ") -> String (328.0) -
HTML を人間に見やすく整形した文字列を返します。
...HTML を人間に見やすく整形した文字列を返します。
@param string HTML を指定します。
@param shift インデントに使用する文字列を指定します。デフォルトは半角空白二つです。
例:
require "cgi"
print CGI.pretty("<HTML><BODY... -
Readline
:: HISTORY . delete _ at(index) -> String | nil (130.0) -
index で指定したインデックスの内容をヒストリから削除し、その内容を返します。 該当する index の内容がヒストリになければ、 nil を返します。 index に 0 を指定すると Readline::HISTORY.shift と同様に最初の入力内容を削除します。 また、 -1 は最後の入力内容というように、index に負の値を指定することで、 最後から入力内容を取得することもできます。 index が -1 の場合は Readline::HISTORY.pop と同様に動作します。
...します。
該当する index の内容がヒストリになければ、 nil を返します。
index に 0 を指定すると Readline::HISTORY.shift
と同様に最初の入力内容を削除します。
また、 -1 は最後の入力内容というように、index に負の値を指定する......ることもできます。
index が -1 の場合は Readline::HISTORY.pop と同様に動作します。
@param index 削除対象のヒストリのインデックスを指定します。
@raise NotImplementedError サポートしていない環境で発生します。
例:
require "readline... -
Readline
:: HISTORY . pop -> String (120.0) -
ヒストリの最後の内容を取り出します。 最後の内容は、ヒストリから取り除かれます。
...かれます。
@raise NotImplementedError サポートしていない環境で発生します。
例:
require "readline"
Readline::HISTORY.push("foo", "bar", "baz")
p Readline::HISTORY.pop #=> "baz"
p Readline::HISTORY.pop #=> "bar"
p Readline::HISTORY.pop #=> "foo"
@see Readline::......HISTORY.push、Readline::HISTORY.shift、
Readline::HISTORY.delete_at... -
CSV
. new(data , options = Hash . new) -> CSV (71.0) -
このメソッドは CSV ファイルを読み込んだり、書き出したりするために String か IO のインスタンスをラップします。
...このメソッドは CSV ファイルを読み込んだり、書き出したりするために
String か IO のインスタンスをラップします。
ラップされた文字列の先頭から読み込むことになります。
文字列に追記したい場合は CSV.generate を使用し......に設定した StringIO を渡してください。
@param data String か IO のインスタンスを指定します。
String のインスタンスを指定した場合、CSV#string を使用して
後からデータを取り出すことが出来ます。
@param options......ll be used as the line-ending 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
フィールドをクオートする文字を指定します。長...