るりまサーチ

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

別のキーワード

  1. rss date=
  2. rss date
  3. date iso8601
  4. date rfc3339
  5. date jisx0301

ライブラリ

クラス

キーワード

検索結果

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...