860件ヒット
[1-100件を表示]
(0.049秒)
ライブラリ
- ビルトイン (48)
- benchmark (84)
- date (36)
- logger (45)
- matrix (12)
-
net
/ http (24) - prettyprint (24)
-
rdoc
/ markup / formatter (12) -
rexml
/ document (60) -
rubygems
/ dependency _ installer (12) -
rubygems
/ format (60) -
rubygems
/ old _ format (60) -
rubygems
/ package / tar _ header (24) - scanf (54)
- socket (48)
- time (24)
-
webrick
/ accesslog (60) -
webrick
/ httpserver (12) -
webrick
/ httpstatus (24) -
webrick
/ log (24)
クラス
-
Benchmark
:: Report (24) -
Benchmark
:: Tms (36) - Date (24)
- DateTime (12)
-
Gem
:: DependencyInstaller (12) -
Gem
:: Format (60) -
Gem
:: OldFormat (60) -
Gem
:: Package :: TarHeader (24) - Logger (33)
-
Logger
:: Formatter (12) - PrettyPrint (24)
-
RDoc
:: Markup :: Formatter (12) -
REXML
:: Formatters :: Default (12) -
REXML
:: Formatters :: Pretty (36) -
REXML
:: Formatters :: Transitive (12) -
RubyVM
:: InstructionSequence (12) -
Scanf
:: FormatSpecifier (30) -
Scanf
:: FormatString (24) - Socket (12)
- TCPServer (24)
- Time (36)
- UDPSocket (12)
-
WEBrick
:: HTTPServer (12) -
WEBrick
:: Log (24)
モジュール
- Benchmark (24)
- Kernel (24)
-
WEBrick
:: AccessLog (48) -
WEBrick
:: HTTPStatus (12)
キーワード
- AccessLog (12)
- CLF (12)
-
CLF
_ TIME _ FORMAT (12) -
COMBINED
_ LOG _ FORMAT (12) -
COMMON
_ LOG _ FORMAT (12) -
DEFAULT
_ OPTIONS (12) - ErrDimensionMismatch (12)
- FORMAT (24)
- HTTPInformation (12)
- HTTPNonAuthoritativeInformation (12)
- Marshal フォーマット (12)
-
NEWS for Ruby 3
. 0 . 0 (5) - NonAuthoritativeInformation (12)
-
PACK
_ FORMAT (12) -
RC
_ NON _ AUTHORITATIVE _ INFORMATION (12) -
UNPACK
_ FORMAT (12) -
_ strptime (24) -
add
_ tag (12) - benchmark (12)
-
datetime
_ format (12) -
datetime
_ format= (24) -
from
_ file _ by _ path (24) -
from
_ io (24) -
gem
_ path (24) -
gem
_ path= (24) - gethostbyname (12)
- item (12)
-
last
_ match _ tried (6) - logger (12)
- match (12)
- matched (6)
-
matched
_ count (6) -
matched
_ string (6) -
mid
_ match? (6) -
net
/ imap (12) - new (93)
- open (12)
- prune (6)
- report (12)
-
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 4 feature (12) -
rubygems
/ commands / dependency _ command (12) -
rubygems
/ commands / install _ command (12) - send (12)
-
singleline
_ format (12) - sprintf (12)
- sprintf フォーマット (12)
- strftime (24)
- strptime (24)
-
time
_ format (12) -
time
_ format= (12) -
to
_ a (12) -
to
_ s (12) - width (18)
- width= (12)
- 正規表現 (12)
検索結果
先頭5件
-
Benchmark
:: Tms # format(fmtstr = nil , *args) -> String (21113.0) -
self を指定されたフォーマットで整形して返します。
...は Kernel.#format のようにオブジェクトを整形しますが、
以下の拡張を使用することができます。
: %u
user CPU time で置き換えられます。Benchmark::Tms#utime
: %y
system CPU time で置き換えられます(Mnemonic: y of "s*y*stem")。Benchmark::Tms#sti......き換えられます。Benchmark::Tms#cutime
: %Y
子プロセスの system CPU time で置き換えられます。Benchmark::Tms#cstime
: %t
total CPU time で置き換えられます。Benchmark::Tms#total
: %r
実経過時間で置き換えられます。Benchmark::Tms#real
: %n
ラベ......ルで置き換えられます(Mnemonic: n of "*n*ame")。Benchmark::Tms#label
@param fmtstr フォーマット文字列です。
省略された場合は、Benchmark::Tms::FORMAT が使用されます。
@param args フォーマットされる引数です。... -
Kernel
. # format(format , *arg) -> String (18231.0) -
format 文字列を C 言語の sprintf と同じように解釈し、 引数をフォーマットした文字列を返します。
...
format 文字列を C 言語の sprintf と同じように解釈し、
引数をフォーマットした文字列を返します。
@param format フォーマット文字列です。
@param arg フォーマットされる引数です。
@see Kernel.#printf,Time#strftime,Date.strptime
=== sprintf......フォーマット
Ruby の sprintf フォーマットは基本的に C 言語の sprintf(3)
のものと同じです。ただし、short や long などの C 特有の型に対する修飾子が
ないこと、2進数の指示子(%b, %B)が存在すること、sprintf のすべての方言をサ......す。
以下は sprintf フォーマットの書式です。[] で囲まれた部分は省略可
能であることを示しています。
%[nth$][フラグ][幅][.精度]指示子
%[<name>][フラグ][幅][.精度]指示子
`%' 自身を出力するには `%%' とします。
以下それ... -
PrettyPrint
. format(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n" , genspace = lambda{|n| & # 39; & # 39; * n}) {|pp| . . . } -> object (18201.0) -
PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。 与えられた output を返します。
...ttyprint'
begin
pp = PrettyPrint.new(output, maxwidth, newline, &genspace)
...
pp.flush
output
end
//}
@param output 出力先を指定します。output は << メソッドを持っていなければなりません。
@param maxwidth 行の最大幅を指定します。ただし、改行......できないものが渡された場合は、
実際の出力幅は maxwidth を越えることがあります。
@param newline 改行に使われます。
@param genspace 空白の生成に使われる Proc オブジェクトを指定します。
生成したい... -
Net
:: HTTPInformation (12000.0) -
HTTP レスポンス 1xx (Informational) を表現するクラスです。
...HTTP レスポンス 1xx (Informational) を表現するクラスです。
リクエストが正常に受信し、処理を続けていることを表わして
います。... -
Net
:: HTTPNonAuthoritativeInformation (12000.0) -
HTTP レスポンス 203 (Non-Authoritative Information) を表現するクラスです。
...HTTP レスポンス 203 (Non-Authoritative Information) を表現するクラスです。
詳しくは 7231 Section 6.3.4 を見てください。... -
WEBrick
:: HTTPStatus :: NonAuthoritativeInformation (12000.0) -
HTTP のステータスコード 203 Non-Authoritative Information を表すクラスです。
...HTTP のステータスコード 203 Non-Authoritative Information を表すクラスです。... -
Logger
:: Formatter # datetime _ format=(format) (9244.0) -
ログの日時フォーマットをセットします。
...aram format 日時のフォーマット文字列。Time#strftime で使用するフォーマット文字列と
同じものを使用できます。
//emlist[例][ruby]{
require 'logger'
formatter = Logger::Formatter.new
formatter.datetime_format # => nil
formatter.datetime_format = '......%Y-%m-%d %H:%M:%S' # => "%Y-%m-%d %H:%M:%S"
formatter.datetime_format # => "%Y-%m-%d %H:%M:%S"
//}
@see Time#strftime... -
Benchmark
. # benchmark(caption = "" , label _ width = nil , fmtstr = nil , *labels) {|rep| . . . } -> [Benchmark :: Tms] (9212.0) -
Benchmark::Report オブジェクトを生成し、それを引数として与えられたブロックを実行します。
...Benchmark::Report オブジェクトを生成し、それを引数として与えられたブロックを実行します。
基本的には以下のように使います。
ブロックが Benchmark::Tms オブジェクトの配列を返した場合は、
それらの数値も追加の行に表示......します。
@param label_width ラベルの幅を指定します。
@param fmtstr フォーマット文字列を指定します。
この引数を省略すると Benchmark::FORMAT が使用されます。
@param labels ブロックが Benchmark::Tms オブジェクトの配......。Benchmark::Tms#utime
: %y
system CPU time で置き換えられます(Mnemonic: y of "s*y*stem")。Benchmark::Tms#stime
: %U
子プロセスの user CPU time で置き換えられます。Benchmark::Tms#cutime
: %Y
子プロセスの system CPU time で置き換えられます。Benchmark::... -
Gem
:: Format . from _ file _ by _ path(file _ path , security _ policy = nil) -> Gem :: Format (9201.0) -
@todo security_policy
...@todo security_policy
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
@param file_path Gem ファイルへのパスを指定します。
@param security_policy ???...