るりまサーチ

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

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils rm_r
  5. fileutils cp_r

検索結果

<< 1 2 3 ... > >>

Benchmark::Tms#format(fmtstr = nil, *args) -> String (24321.0)

self を指定されたフォーマットで整形して返します。

...は Kernel.#format のようにオブジェクトを整形しますが、
以下の拡張を使用することができます。

: %u
user CPU time で置き換えられます。Benchmark::Tms#utime
: %y
system CPU time で置き換えられます(Mnemonic: y of "s*y*stem")。Benchmark::Tms#sti...
...er CPU time で置き換えられます。Benchmark::Tms#cutime
: %Y
子プロセスの system CPU time で置き換えられます。Benchmark::Tms#cstime
: %t
total CPU time で置き換えられます。Benchmark::Tms#total
: %r
実経過時間で置き換えられます。Benchmark::Tms#re...
...al
: %n
ラベルで置き換えられます(Mnemonic: n of "*n*ame")。Benchmark::Tms#label

@param fmtstr フォーマット文字列です。
省略された場合は、Benchmark::Tms::FORMAT が使用されます。
@param args フォーマットされる引数です。...

Scanf::FormatString#string_left (18202.0)

@todo

@todo

Logger::Formatter#datetime_format -> String (15303.0)

ログの日時フォーマットを取得します。

...ログの日時フォーマットを取得します。


@see Time#strftime...

Scanf::FormatSpecifier#matched_string (15202.0)

@todo

@todo

Scanf::FormatSpecifier#re_string (15202.0)

@todo

@todo

絞り込み条件を変える

Logger#datetime_format -> String | nil (12333.0)

ログに記録する時の日付のフォーマットです。

...ime#strftime ではなく、単に Time#usec の
値を String#% でフォーマットしたものが入ります。

//emlist[例][ruby]{
r
equire 'logger'

logger = Logger.new(STDOUT)

logger.datetime_format # => nil
logger.debug("test")
logger.datetime_format = '%Y/%m/%dT%H:%M:%S.%06d'
logger.date...
...time_format # => "%Y/%m/%dT%H:%M:%S.%06d"
logger.debug("test")

# => D, [2019-03-12T22:52:13.674385 #17393] DEBUG -- : test
# D, [2019/03/12T22:52:13.000012#17393] DEBUG -- : test
//}

@see Time#strftime, Logger#datetime_format=...

RDoc::Options#image_format -> String (12319.0)

コマンドライン引数の --image-format オプションで指定した名前を文字列の 配列で返します。

...コマンドライン引数の --image-format オプションで指定した名前を文字列の
配列で返します。

指定しなかった場合は 'png' を返します。...

IRB::Context#return_format -> String (12315.0)

irb のプロンプトでの評価結果を表示する際のフォーマットを文字列で返します。

...irb のプロンプトでの評価結果を表示する際のフォーマットを文字列で返します。

@see IRB::Context#return_format=, print_format...

WEBrick::Log#time_format -> String (12304.0)

時間を記録するフォーマットを文字列で表すアクセサです。 形式は Time#strftime と同じです。 デフォルトは "[%Y-%m-%d %H:%M:%S]" です。

...時間を記録するフォーマットを文字列で表すアクセサです。
形式は Time#strftime と同じです。
デフォルトは "[%Y-%m-%d %H:%M:%S]" です。...

Gem::Installer#formatted_program_filename(filename) -> String (12302.0)

Ruby のコマンドと同じプレフィックスとサフィックスを付けたファイル名を返します。

...
R
uby のコマンドと同じプレフィックスとサフィックスを付けたファイル名を返します。

@param filename 実行ファイルのファイル名を指定します。...

絞り込み条件を変える

<< 1 2 3 ... > >>