ライブラリ
- ビルトイン (105)
- benchmark (84)
- date (60)
- e2mmap (24)
- ipaddr (12)
-
irb
/ context (24) - logger (93)
- matrix (36)
- mkmf (12)
-
net
/ http (24) -
net
/ imap (36) - openssl (24)
- prettyprint (24)
-
rdoc
/ markup / formatter (12) -
rexml
/ document (84) - rss (36)
-
rubygems
/ defaults (12) -
rubygems
/ dependency _ installer (24) -
rubygems
/ exceptions (12) -
rubygems
/ format (72) -
rubygems
/ installer (60) -
rubygems
/ old _ format (72) -
rubygems
/ package / tar _ header (24) -
rubygems
/ package / tar _ input (12) -
rubygems
/ package / tar _ output (48) -
rubygems
/ specification (12) - scanf (180)
- socket (84)
- stringio (12)
- syslog (12)
-
syslog
/ logger (12) - time (48)
-
webrick
/ accesslog (96) -
webrick
/ httpserver (12) -
webrick
/ httpstatus (24) -
webrick
/ log (24) -
win32
/ registry (12) - zlib (24)
クラス
-
ARGF
. class (12) -
Benchmark
:: Report (24) -
Benchmark
:: Tms (36) - Date (36)
- DateTime (24)
-
Gem
:: DependencyInstaller (24) -
Gem
:: Format (72) -
Gem
:: Installer (60) -
Gem
:: OldFormat (72) -
Gem
:: Package :: TarHeader (24) -
Gem
:: Package :: TarOutput (48) -
Gem
:: Specification (12) - IO (24)
- IPAddr (12)
-
IRB
:: Context (24) - Logger (45)
-
Logger
:: Formatter (48) -
Net
:: IMAP (24) -
OpenSSL
:: PKCS7 (12) - PrettyPrint (24)
-
RDoc
:: Markup :: Formatter (12) -
RDoc
:: Options (36) -
REXML
:: Formatters :: Default (24) -
REXML
:: Formatters :: Pretty (36) -
REXML
:: Formatters :: Transitive (12) -
RubyVM
:: InstructionSequence (12) -
Scanf
:: FormatSpecifier (66) -
Scanf
:: FormatString (78) - Socket (24)
- String (21)
- StringIO (12)
-
Syslog
:: Logger :: Formatter (12) - TCPServer (24)
- Time (60)
- UDPSocket (36)
-
WEBrick
:: HTTPServer (12) -
WEBrick
:: Log (24) -
Win32
:: Registry :: Error (12) -
Zlib
:: GzipReader (12) -
Zlib
:: GzipWriter (12)
モジュール
- Benchmark (24)
- DublinCoreModel (36)
- Exception2MessageMapper (24)
- Gem (12)
- Kernel (60)
-
OpenSSL
:: Buffering (12) - Syslog (12)
-
WEBrick
:: AccessLog (84) -
WEBrick
:: HTTPStatus (12)
キーワード
-
AGENT
_ LOG _ FORMAT (12) - AccessLog (12)
- BINARY (12)
- CLF (12)
-
CLF
_ TIME _ FORMAT (12) -
COMBINED
_ LOG _ FORMAT (12) -
COMMON
_ LOG _ FORMAT (12) -
DEFAULT
_ OPTIONS (12) - DataFormatError (12)
- ErrDimensionMismatch (12)
- ErrNotRegular (12)
- ErrOperationNotDefined (12)
- FORMAT (24)
- Format (12)
- FormatException (12)
- FormatMessageA (12)
- FormatSpecifier (6)
- FormatString (6)
- HTTPInformation (12)
- HTTPNonAuthoritativeInformation (12)
- IN6FORMAT (12)
- Marshal フォーマット (12)
-
NEWS for Ruby 3
. 0 . 0 (5) - NonAuthoritativeInformation (12)
- Options (12)
-
PACK
_ FORMAT (12) -
RC
_ NON _ AUTHORITATIVE _ INFORMATION (12) -
REFERER
_ LOG _ FORMAT (12) - REGEX (6)
- Ruby用語集 (12)
- SPECIFIERS (6)
- TarInput (12)
- Transitive (12)
-
UNPACK
_ FORMAT (12) -
_ strptime (24) -
add
_ gem _ contents (12) -
add
_ signatures (12) - benchmark (12)
- call (24)
- conversion (6)
-
count
_ space? (6) -
datetime
_ format (24) -
datetime
_ format= (24) -
dc
_ format (12) -
dc
_ format= (12) -
dc
_ formats (12) -
def
_ exception (12) -
default
_ exec _ format (12) -
exec
_ format (12) -
exec
_ format= (12) -
extract
_ files (12) -
file
_ entries (24) -
file
_ entries= (24) -
format
_ date (12) -
format
_ datetime (12) -
formatted
_ program _ filename (12) - formatter (24)
- formatter= (12)
-
from
_ file _ by _ path (24) -
from
_ io (24) -
gem
_ path (24) - getaddrinfo (12)
- getnameinfo (12)
-
image
_ format (12) - item (12)
-
last
_ match _ tried (6) -
last
_ spec (6) -
last
_ spec _ tried (6) - letter (6)
- log (12)
- logger (12)
- match (12)
- matched (6)
-
matched
_ count (6) -
matched
_ string (6) -
mid
_ match? (6) -
net
/ imap (12) - new (135)
- open (24)
- printf (84)
- prune (6)
- rdoc (12)
-
re
_ string (6) - report (12)
- requirements= (12)
-
return
_ format (12) -
return
_ format= (12) - rfc2822 (12)
- rfc822 (12)
-
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 4 feature (12) -
rubygems
/ commands / install _ command (12) -
rubygems
/ package / tar _ input (12) - scanf (24)
- send (36)
-
singleline
_ format (12) - space (6)
- spec (24)
-
spec
_ count (6) - sprintf (12)
- sprintf フォーマット (12)
- strftime (24)
-
string
_ left (6) - strptime (48)
-
time
_ format (12) -
time
_ format= (12) -
to
_ a (12) -
to
_ re (6) -
to
_ s (24) - unpack1 (9)
- uri (12)
- width (18)
- width= (12)
- write (12)
- オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (12)
- 正規表現 (12)
検索結果
先頭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 リファレンスマニュアル (23012.0)
-
オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル * Ruby オフィシャルサイト https://www.ruby-lang.org/ja/ * 原著:まつもとゆきひろ * 最新版URL: https://www.ruby-lang.org/ja/documentation/
...ntation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ揃っています。
標準添付ライブラリのリファレンスは一部未完成です。
それ以外のドキュメントについては、まだまだ書き直しが必要です。
=== 目次
* spec/intro......セスの実行:
* spec/eval
* spec/terminate
* spec/thread
* spec/safelevel
Ruby の文法:
* spec/lexical
* spec/program
* spec/variables
* spec/literal
* spec/operator
* spec/control
* spec/call
* spec/def
* spec/pattern_matching
その他:
* spec/m17n
* spec/regex......p
* 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/
=== 使用上の注意
組込みクラスのリファレンスはほぼ揃って....../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......n_matching
その他:
* spec/m17n
* spec/regexp
* spec/lambda_proc
==== 組み込みライブラリ
* _builtin
==== 標準添付ライブラリ
* /
==== C API
* /
==== その他
* news/index
* pack_template
* print_format
* glossary
* symref
* marshal_format
* license......ニュアル
* 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/
=== 使用上の注意
組込みクラスのリファレンスはほぼ揃って......ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.4 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版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 (21417.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 (21408.0) -
与えられたフォーマット文字列とパラメータを使用してログを整形します。
...与えられたフォーマット文字列とパラメータを使用してログを整形します。
@param format_string フォーマット文字列を指定します。
@param params パラメータを指定します。... -
PrettyPrint
. format(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n" , genspace = lambda{|n| & # 39; & # 39; * n}) {|pp| . . . } -> object (21201.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 (18361.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$][フラグ][幅][.精... -
Benchmark
:: Tms # format(fmtstr = nil , *args) -> String (18213.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 フォーマットされる引数... -
Logger
:: Formatter # datetime _ format=(format) (15326.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... -
Net
:: IMAP . format _ datetime(time) -> String (15307.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 (15201.0) -
ログの日時フォーマットを取得します。
...ログの日時フォーマットを取得します。
@see Time#strftime...