ライブラリ
- ビルトイン (96)
- benchmark (77)
- date (55)
- e2mmap (24)
- ipaddr (11)
-
irb
/ context (11) - logger (74)
- mkmf (11)
-
net
/ http (11) -
net
/ imap (22) - openssl (22)
- prettyprint (22)
-
rdoc
/ markup / formatter (11) -
rexml
/ document (55) -
rubygems
/ defaults (11) -
rubygems
/ dependency _ installer (22) -
rubygems
/ format (55) -
rubygems
/ installer (33) -
rubygems
/ old _ format (55) -
rubygems
/ package / tar _ header (22) -
rubygems
/ package / tar _ input (11) -
rubygems
/ package / tar _ output (44) - scanf (24)
- socket (77)
- stringio (11)
- syslog (11)
-
syslog
/ logger (11) - time (44)
-
webrick
/ accesslog (88) -
webrick
/ httpserver (11) -
webrick
/ httpstatus (11) -
webrick
/ log (11) - zlib (22)
クラス
-
ARGF
. class (11) -
Benchmark
:: Report (22) -
Benchmark
:: Tms (33) - Date (33)
- DateTime (22)
-
Gem
:: DependencyInstaller (22) -
Gem
:: Format (55) -
Gem
:: Installer (33) -
Gem
:: OldFormat (55) -
Gem
:: Package :: TarHeader (22) -
Gem
:: Package :: TarOutput (44) - IO (23)
- IPAddr (11)
-
IRB
:: Context (11) - Logger (41)
-
Logger
:: Formatter (33) -
Net
:: IMAP (22) -
OpenSSL
:: PKCS7 (11) - PrettyPrint (22)
-
RDoc
:: Markup :: Formatter (11) -
RDoc
:: Options (22) -
REXML
:: Formatters :: Default (22) -
REXML
:: Formatters :: Pretty (22) -
REXML
:: Formatters :: Transitive (11) -
RubyVM
:: InstructionSequence (11) - Socket (22)
- String (20)
- StringIO (11)
-
Syslog
:: Logger :: Formatter (11) - TCPServer (22)
- Time (55)
- UDPSocket (33)
-
WEBrick
:: HTTPServer (11) -
WEBrick
:: Log (11) -
Zlib
:: GzipReader (11) -
Zlib
:: GzipWriter (11)
モジュール
- Benchmark (22)
- Exception2MessageMapper (24)
- Gem (11)
- Kernel (55)
-
OpenSSL
:: Buffering (11) - Syslog (11)
-
WEBrick
:: AccessLog (77)
キーワード
-
AGENT
_ LOG _ FORMAT (11) - AccessLog (11)
- BINARY (11)
- CLF (11)
-
CLF
_ TIME _ FORMAT (11) -
COMBINED
_ LOG _ FORMAT (11) -
COMMON
_ LOG _ FORMAT (11) -
DEFAULT
_ OPTIONS (11) - FORMAT (22)
- Format (11)
- HTTPNonAuthoritativeInformation (11)
- IN6FORMAT (11)
- Marshal フォーマット (11)
-
NEWS for Ruby 3
. 0 . 0 (4) - NonAuthoritativeInformation (11)
- Options (11)
-
PACK
_ FORMAT (11) -
REFERER
_ LOG _ FORMAT (11) - Ruby用語集 (11)
- TarInput (11)
-
UNPACK
_ FORMAT (11) -
_ strptime (22) -
add
_ gem _ contents (11) -
add
_ signatures (11) - benchmark (11)
- call (22)
-
datetime
_ format (22) -
datetime
_ format= (11) -
def
_ exception (12) -
default
_ exec _ format (11) -
exec
_ format (11) -
file
_ entries (22) -
format
_ date (11) -
format
_ datetime (11) -
formatted
_ program _ filename (11) - formatter (22)
-
from
_ file _ by _ path (22) -
from
_ io (22) -
gem
_ path (22) - getaddrinfo (11)
- getnameinfo (11)
-
image
_ format (11) - item (11)
- log (11)
- logger (11)
-
net
/ imap (11) - new (118)
- open (22)
- printf (77)
- rdoc (11)
- report (11)
-
return
_ format (11) - rfc2822 (11)
- rfc822 (11)
-
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 4 feature (11) -
rubygems
/ commands / install _ command (11) -
rubygems
/ package / tar _ input (11) - scanf (24)
- send (33)
-
singleline
_ format (11) - spec (22)
- sprintf (11)
- sprintf フォーマット (11)
- strftime (22)
- strptime (44)
-
time
_ format (11) -
to
_ a (11) -
to
_ s (11) - unpack1 (8)
- width (11)
- write (11)
- オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (11)
- 正規表現 (11)
検索結果
先頭5件
- オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル
- PrettyPrint
. singleline _ format(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n" , genspace = lambda{|n| & # 39; & # 39; * n}) {|pp| . . . } -> object - WEBrick
:: AccessLog . # format(format _ string , params) -> String - PrettyPrint
. format(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n" , genspace = lambda{|n| & # 39; & # 39; * n}) {|pp| . . . } -> object - Kernel
. # format(format , *arg) -> String
-
オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (23044.0)
-
オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル * Ruby オフィシャルサイト https://www.ruby-lang.org/ja/ * 原著:まつもとゆきひろ * 最新版URL: https://www.ruby-lang.org/ja/documentation/
...語 Ruby リファレンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ揃っています....../intro
* spec/commands
* spec/rubycmd
* spec/envvars
==== Ruby 言語仕様
Ruby でのオブジェクト:
* spec/object
* spec/class
プロセスの実行:
* spec/eval
* spec/terminate
* spec/thread
* spec/safelevel
Ruby の文法:
* spec/lexical
* spec/program
* spec/varia......f
その他:
* spec/m17n
* spec/regexp
* spec/lambda_proc
==== 組み込みライブラリ
* _builtin
==== 標準添付ライブラリ
* /
==== C API
* /
==== その他
* news/index
* pack_template
* print_format
* glossary
* symref
* marshal_format
* license
* help......ンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.3 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ......ンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.4 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ......ンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.5 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ......ンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.6 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ......ンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.7 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ......ンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.0 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ......ンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.1 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ......ンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.2 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ......c/intro
* spec/commands
* spec/rubycmd
* spec/envvars
==== Ruby 言語仕様
Ruby でのオブジェクト:
* spec/object
* spec/class
プロセスの実行:
* spec/eval
* spec/terminate
* spec/thread
Ruby の文法:
* spec/lexical
* spec/program
* spec/variables
* spec/lite......ンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.3 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ... -
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 無視されます。... -
WEBrick
:: AccessLog . # format(format _ string , params) -> String (21508.0) -
与えられたフォーマット文字列とパラメータを使用してログを整形します。
...与えられたフォーマット文字列とパラメータを使用してログを整形します。
@param format_string フォーマット文字列を指定します。
@param params パラメータを指定します。... -
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 オブジェクトを指定します。
生成したい空白の幅を表す整数を引数と... -
Kernel
. # format(format , *arg) -> String (18581.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 のすべての方言をサ......ス), -, 0 の5種類があります。
: #
2進、8進、16進の指示子(b, B, o, x, X) ではそれぞれプレフィック
スとして "0b", "0B", "0", "0x", "0X" を付加します。
C 言語と同様引数が 0 の場合にはプレフィックスが付加されません。
//emlist[]... -
Benchmark
:: Tms # format(fmtstr = nil , *args) -> String (18313.0) -
self を指定されたフォーマットで整形して返します。
...rnel.#format のようにオブジェクトを整形しますが、
以下の拡張を使用することができます。
: %u
user CPU time で置き換えられます。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::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 フォーマットされる引数... -
Net
:: IMAP . format _ datetime(time) -> String (15419.0) -
時刻オブジェクトを IMAP の日付時刻フォーマットでの文字列に変換します
...時刻オブジェクトを IMAP の日付時刻フォーマットでの文字列に変換します
require 'net/imap'
Net::IMAP.format_datetime(Time.new(2011, 6, 20, 13, 20, 1))
# => "20-Jun-2011 13:20 +0900"
@param time 変換する時刻オブジェクト... -
Logger
:: Formatter # datetime _ format -> String (15301.0) -
ログの日時フォーマットを取得します。
...ログの日時フォーマットを取得します。
@see Time#strftime... -
WEBrick
:: AccessLog :: COMBINED _ LOG _ FORMAT -> String (12419.0) -
Apache のアクセスログで一般的に使われる形式を表す文字列です。
...Apache のアクセスログで一般的に使われる形式を表す文字列です。
@return 以下の文字列を返します。
//emlist{{
"%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
//}}... -
IPAddr
:: IN6FORMAT -> String (12401.0) -
IPv6 アドレスをわかりやすく表示するためのフォーマット文字列。
...
IPv6 アドレスをわかりやすく表示するためのフォーマット文字列。
"%.4x:%.4x:%.4x:%.4x:%.4x:%.4x:%.4x:%.4x"...