849件ヒット
[801-849件を表示]
(0.079秒)
ライブラリ
- ビルトイン (93)
- json (132)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
/ add / exception (12) -
json
/ add / ostruct (12) -
json
/ add / range (12) -
json
/ add / rational (12) -
json
/ add / regexp (12) -
json
/ add / struct (12) -
json
/ add / symbol (12) -
json
/ add / time (12) - openssl (24)
- prime (324)
-
rdoc
/ generator / darkfish (24) -
rdoc
/ generator / json _ index (12) -
rdoc
/ generator / ri (24) - rss (48)
クラス
- BigDecimal (12)
- Complex (12)
- Date (12)
- DateTime (12)
-
Enumerator
:: Lazy (93) - Exception (12)
- Integer (12)
-
OpenSSL
:: PKey :: EC :: Group (24) - OpenStruct (12)
- Prime (48)
-
Prime
:: EratosthenesGenerator (36) -
Prime
:: Generator23 (36) -
Prime
:: PseudoPrimeGenerator (156) -
Prime
:: TrialDivisionGenerator (36) -
RDoc
:: Generator :: Darkfish (24) -
RDoc
:: Generator :: JsonIndex (12) -
RDoc
:: Generator :: RI (24) -
RDoc
:: Options (24) -
RSS
:: Maker :: ChannelBase (24) -
RSS
:: Rss :: Channel (24) - Range (12)
- Rational (12)
- Regexp (12)
- Struct (12)
- Symbol (12)
- Time (12)
モジュール
-
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 (36) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12)
キーワード
- chunk (24)
- each (48)
-
each
_ with _ index (24) - generate (36)
- generator= (36)
- initialize (24)
- next (48)
- prime? (12)
-
prime
_ division (24) - rewind (48)
-
set
_ generator (12) -
slice
_ after (22) -
slice
_ before (36) -
slice
_ when (11) - succ (48)
-
to
_ json (252) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
upper
_ bound (12) -
upper
_ bound= (12) -
with
_ index (24) -
with
_ object (24)
検索結果
先頭5件
- Enumerator
:: Lazy # slice _ before {|elt| bool } -> Enumerator :: Lazy - Enumerator
:: Lazy # slice _ before(initial _ state) {|elt , state| bool } -> Enumerator :: Lazy - Enumerator
:: Lazy # slice _ before(pattern) -> Enumerator :: Lazy - Enumerator
:: Lazy # slice _ when {|elt _ before , elt _ after| bool } -> Enumerator :: Lazy - Regexp
# to _ json(*args) -> String
-
Enumerator
:: Lazy # slice _ before {|elt| bool } -> Enumerator :: Lazy (7.0) -
Enumerable#slice_before と同じですが、配列ではなく Enumerator::Lazy を返します。
...ator::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, 7, 8], [9, 10, 11], [12, 13,... -
Enumerator
:: Lazy # slice _ before(initial _ state) {|elt , state| bool } -> Enumerator :: Lazy (7.0) -
Enumerable#slice_before と同じですが、配列ではなく Enumerator::Lazy を返します。
...ator::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, 7, 8], [9, 10, 11], [12, 13,... -
Enumerator
:: Lazy # slice _ before(pattern) -> Enumerator :: Lazy (7.0) -
Enumerable#slice_before と同じですが、配列ではなく Enumerator::Lazy を返します。
...ator::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, 7, 8], [9, 10, 11], [12, 13,... -
Enumerator
:: Lazy # slice _ when {|elt _ before , elt _ after| bool } -> Enumerator :: Lazy (7.0) -
Enumerable#slice_when と同じですが、配列ではなく Enumerator::Lazy を返します。
...を返します。
//emlist[例][ruby]{
1.step.lazy.slice_when { |i, j| (i + j) % 5 == 0 }
# => #<Enumerator::Lazy: #<Enumerator: #<Enumerator::Generator:0x00007fce84118348>:each>>
1.step.lazy.slice_when { |i, j| (i + j) % 5 == 0 }.take(5).force
# => [[1, 2], [3, 4, 5, 6, 7], [8, 9, 10, 11, 12],... -
Regexp
# to _ json(*args) -> String (7.0) -
自身を JSON 形式の文字列に変換して返します。
...自身を JSON 形式の文字列に変換して返します。
内部的にはハッシュにデータをセットしてから JSON::Generator::GeneratorMethods::Hash#to_json を呼び出しています。
@param args 引数には何の意味もありません。
//emlist[例][ruby]{
require "j...