るりまサーチ

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

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. kernel $-i
  5. csv to_i

ライブラリ

キーワード

検索結果

<< 1 2 3 ... > >>

Time#sec -> Integer (21214.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 (21202.0)

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

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

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

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

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

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

現在の section を返します。

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

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

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

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

絞り込み条件を変える

DateTime#sec_fraction -> Rational (12302.0)

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

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

DateTime#second_fraction -> Rational (12302.0)

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

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

Kernel#wait_writable -> () (12207.0)

ファイルが書き込み可能になるまで待ちます。

...ファイルが書き込み可能になるまで待ちます。

ruby -run -e wait_writable -- [OPTION] FILE

-n RETRY リトライ回数
-w SEC リトライごとに待つ秒数
-v 詳細表示...

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
//}...
<< 1 2 3 ... > >>