るりまサーチ

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

別のキーワード

  1. numeric step
  2. _builtin numeric
  3. numeric remainder
  4. numeric integer?
  5. numeric imaginary

ライブラリ

検索結果

Enumerator::ArithmeticSequence#first -> Numeric | nil (21204.0)

等差数列の最初の要素、もしくは最初の n 要素を返します。

等差数列の最初の要素、もしくは最初の n 要素を返します。

@param n 取得する要素数。

Enumerator::ArithmeticSequence#first(n) -> [Numeric] (21204.0)

等差数列の最初の要素、もしくは最初の n 要素を返します。

等差数列の最初の要素、もしくは最初の n 要素を返します。

@param n 取得する要素数。

NEWS for Ruby 3.0.0 (30.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...* Array#slice / Array#[]
* Array#take
* Array#take_while
* Array#uniq
* Array#*
* Can be sliced with Enumerator::ArithmeticSequence

//emlist[][ruby]{
dirty_data = ['--', 'data1', '--', 'data2', '--', 'data3']
dirty_data[(1..).step(2)] # take each second element
# => ["da...
...will cause compaction to occur during major collections. At the moment, compaction adds significant overhead to major collections, so please test first! 17176
* Hash
* Hash#transform_keys and Hash#transform_keys! now accept a hash that maps keys to new keys. 16274
* Hash#except has bee...
...pipe, no broken pipe error message will be shown now. 14413
* `TRUE`/`FALSE`/`NIL` constants are no longer defined.
* Integer#zero? overrides Numeric#zero? for optimization. 16961
* Enumerable#grep and Enumerable#grep_v when passed a Regexp and no block no longer modify Regexp.last_match. 17...