るりまサーチ

最速Rubyリファレンスマニュアル検索!
1219件ヒット [201-300件を表示] (0.424秒)

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. matrix det_e
  4. matrix rank_e
  5. open3 capture2e

ライブラリ

キーワード

検索結果

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

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

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

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

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

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

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

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

RDoc::Context#set_current_section(title, comment) -> () (12201.0)

Handle sections

...Handle sections...

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

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

...self と set の共通要素がある場合に 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?...
...self と 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?...

Time#nsec -> Integer (12201.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#subsec -> Integer | Rational (12201.0)

時刻を表す分数を返します。

...あります。

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

to_f の値と subsec の値の下のほうの桁の値は異なる場合があります。
というのは IEEE 754 double はそれを表...
...すのに十分な精度を
持たないからです。subsec で得られる値が正確です。...

Time#tv_nsec -> Integer (12201.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 (12201.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
//}...

Time#usec -> Integer (12201.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
//}...
<< < 1 2 3 4 5 ... > >>