59件ヒット
[1-59件を表示]
(0.017秒)
種類
- インスタンスメソッド (44)
- 文書 (15)
ライブラリ
- date (44)
クラス
- DateTime (44)
キーワード
-
NEWS for Ruby 3
. 0 . 0 (4) - sec (11)
-
sec
_ fraction (11) -
second
_ fraction (11) - リテラル (11)
検索結果
先頭5件
-
DateTime
# second -> Integer (26101.0) -
秒を返します (0-59)。
秒を返します (0-59)。 -
DateTime
# second _ fraction -> Rational (14101.0) -
秒の小数点以下の部分を表す分数を返します。
秒の小数点以下の部分を表す分数を返します。 -
DateTime
# sec -> Integer (11001.0) -
秒を返します (0-59)。
秒を返します (0-59)。 -
DateTime
# sec _ fraction -> Rational (11001.0) -
秒の小数点以下の部分を表す分数を返します。
秒の小数点以下の部分を表す分数を返します。 -
リテラル (30.0)
-
リテラル * num * string * backslash * exp * char * command * here * regexp * array * hash * range * symbol * percent
...タ a を表す String
: ?\M-\C-a
メタ-コントロール a を表す String
===[a:command] コマンド出力
//emlist[例][ruby]{
`date`
%x{ date }
//}
バッククォート(`)で囲まれた文字列は、ダブルクォー
トで囲まれた文字列と同様にbackslash
の解釈とexp......ます。
//emlist[][ruby]{
print <<FIRST, <<SECOND
これは一つめのヒアドキュメントです。
まだ一つめです。
FIRST
この行からは二つめのヒアドキュメントです。
この行で終わります。
SECOND
//}
開始ラベル `<<識別子' の `識別......print <<EOS
The price is #{$price}.
EOS
# 式展開はできない
print <<'EOS'
The price is #{$price}.
EOS
# コマンドを実行
print <<`EOC`
date
diff test.c.org test.c
EOC
//}
文字列リテラルのそれぞれの性質に関しては
string、
exp、
backslash、
command
を参照して... -
NEWS for Ruby 3
. 0 . 0 (24.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...the value.
16754
=== `--backtrace-limit` option
The `--backtrace-limit` option limits the maximum length of a backtrace.
8661
== Core classes updates
Outstanding ones only.
* Array
* The following methods now return Array instances instead of subclass instances when called on subclass in......Enumerator::ArithmeticSequence
//emlist[][ruby]{
dirty_data = ['--', 'data1', '--', 'data2', '--', 'data3']
dirty_data[(1..).step(2)] # take each second element
# => ["data1", "data2", "data3"]
//}
* Binding
* Binding#eval when called with one argument will use `"(eval)"` for `__FILE__` and......updates
Outstanding ones only.
* BigDecimal
* Update to BigDecimal 3.0.0
* This version is Ractor compatible.
* Bundler
* Update to Bundler 2.2.3
* CGI
* Update to 0.2.0
* This version is Ractor compatible.
* CSV
* Update to CSV 3.1.9
* Date
* Update to Date 3...