るりまサーチ

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

別のキーワード

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

Array#intersection(*other_arrays) -> Array (6201.0)

自身と引数に渡された配列の共通要素を新しい配列として返します。 要素が重複する場合は、そのうちの1つのみを返します。 要素の順序は自身の順序を維持します。

...intersectionはObject#hashとObject#eql?を使って比較を行います。

//emlist[例][ruby]{
[1, 1, 3, 5].intersection([3, 2, 1]) # => [1, 3]
["a", "b", "z"].intersection(["a", "b", "c"], ["b"]) # => ["b"]
["a"].intersection # => ["a"]
//}...
...@see Set#intersection, Array#&...

絞り込み条件を変える

CGI::Cookie#secure -> bool (6201.0)

自身がセキュアクッキーである場合は、真を返します。 そうでない場合は、偽を返します。

自身がセキュアクッキーである場合は、真を返します。
そうでない場合は、偽を返します。
<< 1 2 3 ... > >>