ライブラリ
- ビルトイン (44)
- benchmark (77)
- date (33)
- logger (41)
- matrix (11)
-
net
/ http (22) - prettyprint (22)
-
rexml
/ document (55) -
rubygems
/ dependency _ installer (11) -
rubygems
/ format (33) -
rubygems
/ old _ format (33) -
rubygems
/ package / tar _ header (22) - scanf (54)
- socket (33)
- time (22)
-
webrick
/ accesslog (55) -
webrick
/ httpserver (11) -
webrick
/ httpstatus (22) -
webrick
/ log (22)
クラス
-
Benchmark
:: Report (22) -
Benchmark
:: Tms (33) - Date (22)
- DateTime (11)
-
Gem
:: DependencyInstaller (11) -
Gem
:: Format (33) -
Gem
:: OldFormat (33) -
Gem
:: Package :: TarHeader (22) - Logger (30)
-
Logger
:: Formatter (11) - PrettyPrint (22)
-
REXML
:: Formatters :: Default (11) -
REXML
:: Formatters :: Pretty (33) -
REXML
:: Formatters :: Transitive (11) -
RubyVM
:: InstructionSequence (11) -
Scanf
:: FormatSpecifier (30) -
Scanf
:: FormatString (24) - TCPServer (22)
- Time (33)
- UDPSocket (11)
-
WEBrick
:: HTTPServer (11) -
WEBrick
:: Log (22)
モジュール
- Benchmark (22)
- Kernel (22)
-
WEBrick
:: AccessLog (44) -
WEBrick
:: HTTPStatus (11)
キーワード
- AccessLog (11)
- CLF (11)
-
CLF
_ TIME _ FORMAT (11) -
COMBINED
_ LOG _ FORMAT (11) -
COMMON
_ LOG _ FORMAT (11) -
DEFAULT
_ OPTIONS (11) - ErrDimensionMismatch (11)
- FORMAT (22)
- HTTPInformation (11)
- HTTPNonAuthoritativeInformation (11)
- Marshal フォーマット (11)
-
NEWS for Ruby 3
. 0 . 0 (4) - NonAuthoritativeInformation (11)
-
PACK
_ FORMAT (11) -
RC
_ NON _ AUTHORITATIVE _ INFORMATION (11) -
UNPACK
_ FORMAT (11) -
_ strptime (22) - benchmark (11)
-
datetime
_ format (11) -
datetime
_ format= (22) -
from
_ file _ by _ path (22) -
from
_ io (22) -
gem
_ path (22) - item (11)
-
last
_ match _ tried (6) - logger (11)
- match (12)
- matched (6)
-
matched
_ count (6) -
matched
_ string (6) -
mid
_ match? (6) -
net
/ imap (11) - new (63)
- open (11)
- prune (6)
- report (11)
-
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 4 feature (11) -
rubygems
/ commands / install _ command (11) - send (11)
-
singleline
_ format (11) - sprintf (11)
- sprintf フォーマット (11)
- strftime (22)
- strptime (22)
-
time
_ format (11) -
time
_ format= (11) -
to
_ a (11) -
to
_ s (11) - width (17)
- width= (11)
- 正規表現 (11)
検索結果
先頭5件
- PrettyPrint
. singleline _ format(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n" , genspace = lambda{|n| & # 39; & # 39; * n}) {|pp| . . . } -> object - PrettyPrint
. format(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n" , genspace = lambda{|n| & # 39; & # 39; * n}) {|pp| . . . } -> object - Benchmark
:: Tms # format(fmtstr = nil , *args) -> String - Kernel
. # format(format , *arg) -> String - ExceptionForMatrix
:: ErrDimensionMismatch
-
PrettyPrint
. singleline _ format(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n" , genspace = lambda{|n| & # 39; & # 39; * n}) {|pp| . . . } -> object (21517.0) -
PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。 PrettyPrint.format に似ていますが、改行しません。
...PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。
PrettyPrint.format に似ていますが、改行しません。
引数 maxwidth, newline と genspace は無視されます。ブロック中の breakable の実行は、
改行せずに text......の実行であるかのように扱います。
@param output 出力先を指定します。output は << メソッドを持っていなければなりません。
@param maxwidth 無視されます。
@param newline 無視されます。
@param genspace 無視されます。... -
PrettyPrint
. format(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n" , genspace = lambda{|n| & # 39; & # 39; * n}) {|pp| . . . } -> object (21301.0) -
PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。 与えられた output を返します。
...rettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。
与えられた output を返します。
以下と同じ働きをするもので簡便のために用意されています。
//emlist[][ruby]{
require 'prettyprint'
begin
pp = PrettyPrint.new......(output, maxwidth, newline, &genspace)
...
pp.flush
output
end
//}
@param output 出力先を指定します。output は << メソッドを持っていなければなりません。
@param maxwidth 行の最大幅を指定します。ただし、改行できないものが渡された場合......は、
実際の出力幅は maxwidth を越えることがあります。
@param newline 改行に使われます。
@param genspace 空白の生成に使われる Proc オブジェクトを指定します。
生成したい空白の幅を表す整数を引数と... -
Benchmark
:: Tms # format(fmtstr = nil , *args) -> String (21213.0) -
self を指定されたフォーマットで整形して返します。
...rnel.#format のようにオブジェクトを整形しますが、
以下の拡張を使用することができます。
: %u
user CPU time で置き換えられます。Benchmark::Tms#utime
: %y
system CPU time で置き換えられます(Mnemonic: y of "s*y*stem")。Benchmark::Tms#stime
: %......user CPU time で置き換えられます。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 (18367.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 のすべての方言をサ......で出力するためには %+x、% x のように指定します。
以下は sprintf フォーマットの書式です。[] で囲まれた部分は省略可
能であることを示しています。
%[nth$][フラグ][幅][.精度]指示子
%[<name>][フラグ][幅][.精度]指示子
`%'... -
ExceptionForMatrix
:: ErrDimensionMismatch (18000.0) -
行列/ベクトル計算時に次元が合わない場合に発生する例外です。
行列/ベクトル計算時に次元が合わない場合に発生する例外です。 -
Net
:: HTTPInformation (18000.0) -
HTTP レスポンス 1xx (Informational) を表現するクラスです。
...HTTP レスポンス 1xx (Informational) を表現するクラスです。
リクエストが正常に受信し、処理を続けていることを表わして
います。... -
Net
:: HTTPNonAuthoritativeInformation (18000.0) -
HTTP レスポンス 203 (Non-Authoritative Information) を表現するクラスです。
...HTTP レスポンス 203 (Non-Authoritative Information) を表現するクラスです。
詳しくは 7231 Section 6.3.4 を見てください。... -
WEBrick
:: HTTPStatus :: NonAuthoritativeInformation (18000.0) -
HTTP のステータスコード 203 Non-Authoritative Information を表すクラスです。
...HTTP のステータスコード 203 Non-Authoritative Information を表すクラスです。... -
Gem
:: Format . from _ file _ by _ path(file _ path , security _ policy = nil) -> Gem :: Format (15501.0) -
@todo security_policy
...@todo security_policy
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
@param file_path Gem ファイルへのパスを指定します。
@param security_policy ???... -
Gem
:: OldFormat . from _ file _ by _ path(file _ path) -> Gem :: OldFormat (15400.0) -
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
...Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
@param file_path Gem ファイルへのパスを指定します。...