るりまサーチ

最速Rubyリファレンスマニュアル検索!
100件ヒット [1-100件を表示] (0.019秒)
トップページ > クエリ:test[x] > クエリ:format[x]

別のキーワード

  1. kernel test
  2. _builtin test
  3. rubygems/test_utilities tempio
  4. rubygems/test_utilities fetcher=
  5. testtask test_files=

検索結果

Logger#datetime_format=(format) (6250.0)

ログに記録する時の日付のフォーマットをセットします。

...STDOUT)

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

# => D, [2019-03-13T23:52:13.674385 #17393] DEBUG -- : test
# D, [2019/03/13T23:...
...52:13.000012#17393] DEBUG -- : test
//}

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

Logger#datetime_format -> String | nil (6149.0)

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

....datetime_format # => nil
logger.debug("test")
logger.datetime_format = '%Y/%m/%dT%H:%M:%S.%06d'
logger.datetime_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=...

Logger#formatter -> String (6124.0)

ログを出力する際に使用するフォーマッターを取得します。

...gger.formatter # => nil
logger.info("test")
# => I, [2019-05-09T22:13:56.509159 #13912] INFO -- : test

ltsv_formatter = proc { |severity, timestamp, progname, msg|
"time:#{timestamp}\tlevel:#{severity}\tprogname:#{progname}\tmessage:#{msg}\n"
}
logger.formatter = ltsv_formatter
logger.formatter...
...# => #<Proc:0x00007fa3048b8e00@/path/to/file:8>
logger.info("MyApp") { "test" }

# => time:2019-05-09 22:13:56 +0900 level:INFO progname:MyApp message:test
//}...

ruby 1.8.4 feature (252.0)

ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。

...ruby 1.8.4 feature/printf [bug]>))
* ((<ruby 1.8.4 feature/Hash [bug]>))
* ((<ruby 1.8.4 feature/test [bug]>))
* ((<ruby 1.8.4 feature/File.identical? [new]>))
* ((<ruby 1.8.4 feature/FileTest.identical? [new]>))
* ((<ruby 1.8.4 feature/File.split [change]>))
* ((<ruby 1.8.4 feature/File...
..._inspect), parse.y (parser_yylex, rb_symname_p): check
# if valid as a symbol name more strictly. [ruby-dev:27478]
#
# * test/ruby/test_symbol.rb: tests for [ruby-core:03573].

Symbolに適合する文字列を厳密にした。((<ruby-core:03573>)),((<ruby-dev:27478>))

1...
...d_missing if super is
# called from Kernel method.
#
# * eval.c (exec_under): frame during eval should preserve external
# information.

: super [bug]

Kernelのメソッド内でsuperを呼んだ時に、存在しないsuperclass
にアクセスしようとするバグ...

ruby 1.8.2 feature (36.0)

ruby 1.8.2 feature ruby 1.8.2 での ruby 1.8.1 からの変更点です。

...[lib] [new]
追加。

: OpenSSL::X509::Name::RFC2253DN [lib] [new]
module for RFC2253 DN format.

: OpenSSL::X509::Name.parse_rfc2253 [lib] [new]
new method to parse RFC2253 DN format.

=== 2004-12-18

: Object#id [ruby] [obsolete]
常に警告がでるようになりました。O...
...pat]
StringIO.newの第二引数にIO.newと同様、Fixnum も指定できるようになりました。
((<ruby-dev:24896>))

=== 2004-11-16
: Test::Unit::AutoRunner.options [lib] [compat]
add new option --exclude (-x). ((<ruby-dev:24865>))

: CGI::Session.initialize [lib] [compat]
'sufix'...
...2004-02-24
: OpenSSL::Config#each [lib] [new]

: Dir.glob [ruby] [change]
File::FNM_DOTMATCH がセットされない限り Dir.glob('test/**/') は 'test/.test/' などに
マッチしなくなりました。((<ruby-dev:23014>))

=== 2004-02-20
: irb [lib] [new]
-I オプションが使え...

絞り込み条件を変える

NEWS for Ruby 3.0.0 (30.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...`true` will cause compaction to occur during major collections. At the moment, compaction adds significant overhead to major collections, so please test first! 17176
* Hash
* Hash#transform_keys and Hash#transform_keys! now accept a hash that maps keys to new keys. 16274
* Hash#except h...
...image, between extension libraries. The extension libraries can share also the metadata of the memory area that consists of the shape, the element format, and so on. Using these kinds of metadata, the extension libraries can share even a multidimensional array appropriately. This feature is designe...
...e signature, and prints the analysis result in RBS format.
* Though it supports only a subset of the Ruby language yet, we will continuously improve the coverage of language features, analysis performance, and usability.

//emlist[][ruby]{
# test.rb
def foo(x)
if x > 10
x.to_s
else
n...

Ruby用語集 (30.0)

Ruby用語集 A B C D E F G I J M N O R S Y

...り替えて使うための
ツールの一つ。Linux、macOS などで動作する。

https://github.com/rbenv/rbenv

: RD(Ruby Document format
Ruby スクリプト中に記述することを念頭に作られたドキュメントフォーマット。

: RDoc
Ruby スクリプトか...
...よっては「即値」という用語を「リテラル」の意味で使うので注意されたい。

: ソフトウェアテスト
: software testing
プログラムの正しさや性能を調べること。単に「テスト」ともいう。
狭義にはテスト用プログラム(テ...
...ックスイン

: 単項演算子
: unary operator
単一の項に働く演算子。+ - ! not などが該当する。

: 単体テスト
: unit testing
=ユニットテスト

: 短絡評価
: short-circuit evaluation
論理式の評価において、真偽を確定するための最小限...

rubygems/commands/install_command (18.0)

Gem パッケージをローカルリポジトリにインストールするためのライブラリです。

...nv)
-f, --[no-]force 依存関係のチェックをバイパスして強制的にインストールします
-t, --[no-]test インストール時にユニットテストを実行します
-w, --[no-]wrappers Use bin wrappers for execut...
...トールしません
-y, --include-dependencies 依存している Gem パッケージをインストールします
--[no-]format-executable Make installed executable names match ruby.
If ruby is ruby18, foo_exec will be...
...rguments:
GEMNAME インストールする Gem パッケージ名を指定します
Summary:
Gem パッケージをローカルにインストールします
Defaults:
--both --version '>= 0' --rdoc --ri --no-force
--no-test --install-dir /usr/lib/ruby/gems/1.8...

NEWS for Ruby 2.2.0 (12.0)

NEWS for Ruby 2.2.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...rev_float

* File
* 追加: File.birthtime
* 追加: File#birthtime

* File::Stat
* 追加: File::Stat#birthtime

* GC
* GC.latest_gc_info は現在のGCのステータスを再現するために :state を返すようになりました。
* 改善: メジャーGCにイン...
...性 (機能追加とバグ修正を除く)

* mathn
* 非推奨の警告を表示するようになりました 10169

* ext/date/lib/date/format.rb
* 空だったので削除されました

* digest
* Digest::HMAC は削除されました。OpenSSL::HMAC や外部のgemを使っ...
...print
* PrettyPrint#first? は削除しました。

* lib/minitest/*.rb
* mintest 5 と衝突するので削除しました。9711

* lib/test/**/*.rb
* minitest 5 と衝突するので削除しました。minitest 4 の単なるラッパーだった。9711

* uri
* 3986 を...