るりまサーチ

最速Rubyリファレンスマニュアル検索!
89件ヒット [1-89件を表示] (0.039秒)
トップページ > クエリ:@[x] > クエリ:reduce[x]

別のキーワード

  1. _builtin reduce
  2. enumerable reduce
  3. reduce
  4. reduce symbol
  5. reduce _builtin

ライブラリ

モジュール

キーワード

検索結果

Enumerable#reduce(init = self.first) {|result, item| ... } -> object (15115.0)

リストのたたみこみ演算を行います。

...の要素を返します。
要素がなければブロックを実行せずに nil を返します。

@
param init 最初の result の値です。任意のオブジェクトが渡せます。
@
param sym ブロックの代わりに使われるメソッド名を表す Symbol オブジェクトを...

Enumerable#reduce(init, sym) -> object (15115.0)

リストのたたみこみ演算を行います。

...の要素を返します。
要素がなければブロックを実行せずに nil を返します。

@
param init 最初の result の値です。任意のオブジェクトが渡せます。
@
param sym ブロックの代わりに使われるメソッド名を表す Symbol オブジェクトを...

Enumerable#reduce(sym) -> object (15115.0)

リストのたたみこみ演算を行います。

...の要素を返します。
要素がなければブロックを実行せずに nil を返します。

@
param init 最初の result の値です。任意のオブジェクトが渡せます。
@
param sym ブロックの代わりに使われるメソッド名を表す Symbol オブジェクトを...

ruby 1.8.4 feature (414.0)

ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。

...# => ruby 1.8.4 (2005-12-16) [i686-linux]
-:1: empty symbol literal

: Symbol [bug]

#Sat Oct 22 13:26:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
#
# * object.c (sym_inspect), parse.y (parser_yylex, rb_symname_p): check
# if valid as a symbol name more strictly. [r...
...puts :"@1".inspect
puts :"@@1".inspect
puts :"@".inspect
puts :"@@".inspect

# => ruby 1.8.3 (2005-09-21) [i686-linux]
:!
:=
:0
:$1
:@1
:@@1...
...正。((<ruby-core:06358>))

: RDoc [bug]

#Tue Oct 25 02:12:08 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
#
# * lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::LABEL_LIST_RE):
# reduce redundant backtrack. [ruby-talk:161771]

正規表現のバックトラックが深くな...

NEWS for Ruby 3.0.0 (24.0)

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

...rue` is used. 17104
* Magic comment `shareable_constant_value` added to freeze constants.
See {Magic Comments}[rdoc-ref:doc/syntax/comments.rdoc@Magic+Comments] for more details.
17273
* A {static analysis}[rdoc-label:label-Static+analysis] foundation is
introduced.
* {RBS}[rdo...
...on uses only methods ending with `!`.
* Ractor compatible.
* Improved support for YAML. 8382
* Use officially discouraged. Read OpenStruct@Caveats section.
* Pathname
* Ractor compatible.
* Psych
* Update to Psych 3.3.0
* This version is Ractor compatible.
* Reline...
...ly uses atomic operations. See the ticket for more details.
* The number of hashes allocated when using a keyword splat in a method call has been reduced to a maximum of 1, and passing a keyword splat to a method that accepts specific keywords does not allocate a hash.
* `super` is optimized whe...

絞り込み条件を変える

Enumerable#inject(init = self.first) {|result, item| ... } -> object (15.0)

リストのたたみこみ演算を行います。

...の要素を返します。
要素がなければブロックを実行せずに nil を返します。

@
param init 最初の result の値です。任意のオブジェクトが渡せます。
@
param sym ブロックの代わりに使われるメソッド名を表す Symbol オブジェクトを...

Enumerable#inject(init, sym) -> object (15.0)

リストのたたみこみ演算を行います。

...の要素を返します。
要素がなければブロックを実行せずに nil を返します。

@
param init 最初の result の値です。任意のオブジェクトが渡せます。
@
param sym ブロックの代わりに使われるメソッド名を表す Symbol オブジェクトを...

Enumerable#inject(sym) -> object (15.0)

リストのたたみこみ演算を行います。

...の要素を返します。
要素がなければブロックを実行せずに nil を返します。

@
param init 最初の result の値です。任意のオブジェクトが渡せます。
@
param sym ブロックの代わりに使われるメソッド名を表す Symbol オブジェクトを...