るりまサーチ

最速Rubyリファレンスマニュアル検索!
1171件ヒット [101-200件を表示] (0.175秒)

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

ライブラリ

キーワード

検索結果

<< < 1 2 3 4 ... > >>

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

現在の section を返します。

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

Time#tv_nsec -> Integer (12219.0)

時刻のナノ秒の部分を整数で返します。

...す。

//emlist[][ruby]{
t
= Time.local(2000,1,2,3,4,5,6)
p "%10.9f" % t.to_f # => "946749845.000005960"
p t.nsec # => 6000
//}

IEEE 754 浮動小数点数で表現できる精度が違うため、Time#to_fの最小
の桁とnsecの最小の桁は異なります。nsecで表され...

Time#tv_usec -> Integer (12219.0)

時刻のマイクロ秒の部分を整数で返します。

...時刻のマイクロ秒の部分を整数で返します。

//emlist[][ruby]{
t
= Time.local(2000,1,2,3,4,5,6)
p "%10.6f" % t.to_f #=> "946749845.000006"
p t.usec #=> 6
//}...

Array#intersect?(other) -> bool (12201.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 (12201.0)

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

...持します。

@param other_arrays 自身と共通要素を取りたい配列を指定します。
配列以外のオブジェクトを指定した場合は to_ary
メソッドによる暗黙の型変換を試みます。

@raise TypeError 引数に配列以...
...合に発生します。

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

絞り込み条件を変える

OpenSSL::Config#sections -> [String] (12201.0)

オブジェクトに含まれる全てのセクション名の配列を返します。

オブジェクトに含まれる全てのセクション名の配列を返します。

RDoc::CodeObject#section=(val) (12201.0)

所属する section を設定します。

...所属する section を設定します。

@param val RDoc::Context::Section オブジェクトを指定します。...

Set#intersect?(set) -> bool (12201.0)

self と set の共通要素がある場合に true を返します。

...t の共通要素がある場合に true を返します。

@param self Set オブジェクトを指定します。
@raise ArgumentError 引数が Set オブジェクトでない場合に発生します。

require 'set'
p Set[1, 2, 3].intersect?(Set[3, 4]) # => true
p Set[1, 2, 3].intersect...
...?(Set[4, 5]) # => false

@see Set#intersection, Set#disjoint?...
...と set の共通要素がある場合に true を返します。

@param self Set オブジェクトを指定します。
@raise ArgumentError 引数が Set オブジェクトでない場合に発生します。

p Set[1, 2, 3].intersect?(Set[3, 4]) # => true
p Set[1, 2, 3].intersect?(Set[4, 5...
...]) # => false

@see Set#intersection, Set#disjoint?...

Net::HTTP#continue_timeout=(seconds) (9301.0)

「100 Continue」レスポンスを待つ秒数を指定します。

...「100 Continue」レスポンスを待つ秒数を指定します。

この秒数待ってもレスポンスが来ない場合は
リクエストボディを送信します。

デフォルトは nil (待たない)です。

@param seconds 秒数
@see Net::HTTP#continue_timeout...

Time#tv_sec -> Integer (9238.0)

起算時からの経過秒数を整数で返します。

...起算時からの経過秒数を整数で返します。

//emlist[][ruby]{
t
= Time.local(2000,1,2,3,4,5,6)
p t # => 2000-01-02 03:04:05 +0900
p "%10.6f" % t.to_f # => "946749845.000006"
p t.to_i # => 946749845
p t.tv_sec # => 946749845
//}...

絞り込み条件を変える

<< < 1 2 3 4 ... > >>