ライブラリ
- ビルトイン (222)
- csv (12)
- json (564)
- observer (12)
- openssl (12)
- rake (12)
-
ripper
/ lexer (24) -
rubygems
/ user _ interaction (48)
クラス
- CSV (12)
- Encoding (48)
-
Encoding
:: Converter (12) -
Enumerator
:: Lazy (60) -
Gem
:: StreamUI (48) - IO (12)
-
JSON
:: State (372) -
OpenSSL
:: SSL :: SSLSocket (12) -
Rake
:: Application (12) - Random (24)
- Ripper (8)
-
Ripper
:: Lexer (16) - Thread (42)
モジュール
- GC (24)
- JSON (60)
-
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Observable (12)
キーワード
-
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (8) -
STATELESS
_ ISO _ 2022 _ JP (12) -
STATELESS
_ ISO _ 2022 _ JP _ KDDI (12) - State (24)
-
Stateless
_ ISO _ 2022 _ JP (12) -
Stateless
_ ISO _ 2022 _ JP _ KDDI (12) - [] (12)
- []= (12)
-
abort
_ on _ exception= (24) - alert (12)
-
alert
_ error (12) -
alert
_ warning (12) -
allow
_ nan? (12) -
array
_ nl (12) -
array
_ nl= (12) -
ascii
_ only? (12) -
buffer
_ initial _ length (12) -
buffer
_ initial _ length= (12) - changed (12)
-
check
_ circular? (12) - chunk (24)
- configure (12)
- depth (12)
- depth= (12)
-
from
_ state (12) - generate (24)
- indent (12)
- indent= (12)
-
insert
_ output (12) -
jump
_ tag _ but _ local _ jump (12) -
latest
_ gc _ info (24) - lex (16)
-
max
_ nesting (12) -
max
_ nesting= (12) - merge (12)
- new (12)
-
object
_ nl (12) -
object
_ nl= (12) - parse (8)
-
pretty
_ generate (12) -
pretty
_ unparse (12) -
quirks
_ mode (12) -
quirks
_ mode= (12) -
quirks
_ mode? (12) -
rb
_ eval _ string _ protect (12) -
rb
_ eval _ string _ wrap (12) -
rb
_ jump _ tag (12) -
rb
_ load _ protect (12) -
rb
_ protect (12) -
rb
_ reserved _ word (12) -
report
_ on _ exception= (18) - say (12)
-
slice
_ before (36) - space (12)
- space= (12)
-
space
_ before (12) -
space
_ before= (12) - sync= (24)
-
to
_ h (12) -
to
_ hash (12) -
to
_ json (108) -
tty
_ output= (12) - unparse (12)
検索結果
-
Enumerator
:: Lazy # slice _ before(pattern) -> Enumerator :: Lazy (2.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 }.take(5).force
# => [[1, 2], [3, 4, 5], [6...