るりまサーチ

最速Rubyリファレンスマニュアル検索!
948件ヒット [1-100件を表示] (0.041秒)

別のキーワード

  1. _builtin >
  2. bigdecimal >
  3. module >
  4. float >
  5. complex >

ライブラリ

キーワード

検索結果

<< 1 2 3 ... > >>

Time#sec -> Integer (18214.0)

秒を整数で返します。

...秒を整数で返します。

//emlist[][ruby]{
p Time.mktime(2000, 1, 1).sec # => 0
//}

通常は0から59を返しますが、うるう秒の場合は60を返します。

//emlist[][ruby]{
ENV['TZ'] = 'right/UTC'
p Time.mktime(2005, 12, 31, 23, 59, 60).sec # => 60
//}...

DateTime#sec -> Integer (18202.0)

秒を返します (0-59)。

秒を返します (0-59)。

RDoc::CodeObject#section -> RDoc::Context::Section (6301.0)

所属している section を返します。

...所属している section を返します。...

RDoc::Context#current_section -> RDoc::Context::Section (6301.0)

現在の section を返します。

...現在の section を返します。...

RDoc::Context#sections -> RDoc::Context::Section (6301.0)

追加された RDoc::Context::Section の配列を返します。

...追加された RDoc::Context::Section の配列を返します。...

絞り込み条件を変える

DateTime#sec_fraction -> Rational (6202.0)

秒の小数点以下の部分を表す分数を返します。

秒の小数点以下の部分を表す分数を返します。

DateTime#second -> Integer (6202.0)

秒を返します (0-59)。

秒を返します (0-59)。

DateTime#second_fraction -> Rational (6202.0)

秒の小数点以下の部分を表す分数を返します。

秒の小数点以下の部分を表す分数を返します。

Array#intersect?(other) -> bool (6201.0)

other と共通の要素が少なくとも1個あれば true を、なければ false を返します。

...other と共通の要素が少なくとも1個あれば true を、なければ false を返します。

//emlist[例][ruby]{
a = [ 1, 2, 3 ]
b = [ 3, 4, 5 ]
c = [ 5, 6, 7 ]
a.intersect?(b) # => true
a.intersect?(c) # => false
//}...
<< 1 2 3 ... > >>