6件ヒット
[1-6件を表示]
(0.125秒)
ライブラリ
- ビルトイン (6)
キーワード
-
find
_ all (1) - reject (1)
- select (1)
-
slice
_ before (3)
検索結果
先頭5件
- Enumerator
:: Lazy # find _ all {|item| . . . } -> Enumerator :: Lazy - Enumerator
:: Lazy # reject {|item| . . . } -> Enumerator :: Lazy - Enumerator
:: Lazy # select {|item| . . . } -> Enumerator :: Lazy - Enumerator
:: Lazy # slice _ before {|elt| bool } -> Enumerator :: Lazy - Enumerator
:: Lazy # slice _ before(initial _ state) {|elt , state| bool } -> Enumerator :: Lazy
-
Enumerator
:: Lazy # find _ all {|item| . . . } -> Enumerator :: Lazy (24043.0) -
Enumerable#select と同じですが、配列ではなくEnumerator::Lazy を返します。
...同じですが、配列ではなくEnumerator::Lazy を返します。
@raise ArgumentError ブロックを指定しなかった場合に発生します。
//emlist[例][ruby]{
1.step.lazy.find_all { |i| i.even? }
# => #<Enumerator::Lazy: #<Enumerator::Lazy: #<Enumerator: 1:step>>:find_all>
1.st... -
Enumerator
:: Lazy # reject {|item| . . . } -> Enumerator :: Lazy (24043.0) -
Enumerable#reject と同じですが、配列ではなくEnumerator::Lazy を返します。
...と同じですが、配列ではなくEnumerator::Lazy を返します。
@raise ArgumentError ブロックを指定しなかった場合に発生します。
//emlist[例][ruby]{
1.step.lazy.reject { |i| i.even? }
# => #<Enumerator::Lazy: #<Enumerator::Lazy: #<Enumerator: 1:step>>:reject>
1.ste... -
Enumerator
:: Lazy # select {|item| . . . } -> Enumerator :: Lazy (24043.0) -
Enumerable#select と同じですが、配列ではなくEnumerator::Lazy を返します。
...同じですが、配列ではなくEnumerator::Lazy を返します。
@raise ArgumentError ブロックを指定しなかった場合に発生します。
//emlist[例][ruby]{
1.step.lazy.find_all { |i| i.even? }
# => #<Enumerator::Lazy: #<Enumerator::Lazy: #<Enumerator: 1:step>>:find_all>
1.st... -
Enumerator
:: Lazy # slice _ before {|elt| bool } -> Enumerator :: Lazy (24025.0) -
Enumerable#slice_before と同じですが、配列ではなく Enumerator::Lazy を返します。
...Enumerable#slice_before と同じですが、配列ではなく Enumerator::Lazy を返します。
//emlist[例][ruby]{
1.step.lazy.slice_before { |e| e.even? }
# => #<Enumerator::Lazy: #<Enumerator: #<Enumerator::Generator:0x00007f9f31844ce8>:each>>
1.step.lazy.slice_before { |e| e % 3 == 0 }.t... -
Enumerator
:: Lazy # slice _ before(initial _ state) {|elt , state| bool } -> Enumerator :: Lazy (24025.0) -
Enumerable#slice_before と同じですが、配列ではなく Enumerator::Lazy を返します。
...Enumerable#slice_before と同じですが、配列ではなく Enumerator::Lazy を返します。
//emlist[例][ruby]{
1.step.lazy.slice_before { |e| e.even? }
# => #<Enumerator::Lazy: #<Enumerator: #<Enumerator::Generator:0x00007f9f31844ce8>:each>>
1.step.lazy.slice_before { |e| e % 3 == 0 }.t... -
Enumerator
:: Lazy # slice _ before(pattern) -> Enumerator :: Lazy (24025.0) -
Enumerable#slice_before と同じですが、配列ではなく Enumerator::Lazy を返します。
...Enumerable#slice_before と同じですが、配列ではなく Enumerator::Lazy を返します。
//emlist[例][ruby]{
1.step.lazy.slice_before { |e| e.even? }
# => #<Enumerator::Lazy: #<Enumerator: #<Enumerator::Generator:0x00007f9f31844ce8>:each>>
1.step.lazy.slice_before { |e| e % 3 == 0 }.t...