1610件ヒット
[1601-1610件を表示]
(0.046秒)
ライブラリ
- ビルトイン (1610)
キーワード
- <=> (12)
- [] (36)
- all? (21)
- any? (30)
- assoc (12)
- at (12)
- bsearch (24)
-
bsearch
_ index (20) - collect (24)
- collect! (24)
- combination (24)
- compact (12)
- compact! (12)
- count (36)
- cycle (24)
- delete (24)
-
delete
_ at (12) -
delete
_ if (24) - dig (10)
-
drop
_ while (24) - each (24)
-
each
_ index (24) - fetch (36)
-
fetch
_ values (2) - fill (72)
- filter (14)
- filter! (14)
-
find
_ index (36) - first (24)
- flatten (12)
- flatten! (12)
- index (36)
-
keep
_ if (24) - last (24)
- map (24)
- map! (24)
- max (36)
- min (36)
- minmax (12)
- none? (21)
- one? (21)
- pack (21)
- permutation (24)
- pop (24)
- product (24)
- rassoc (12)
- reject (24)
- reject! (24)
-
repeated
_ combination (24) -
repeated
_ permutation (24) -
reverse
_ each (24) - rindex (36)
- sample (48)
- select (24)
- select! (24)
- shift (24)
- slice (36)
- slice! (36)
- sort (24)
- sort! (24)
-
sort
_ by! (24) - sum (18)
-
take
_ while (24) -
to
_ h (14) - uniq (24)
- uniq! (24)
- zip (24)
検索結果
-
Array
# to _ h -> Hash (30008.0) -
self を [key, value] のペアの配列として解析した結果を Hash にして 返します。
...ruby]{
bar], [1, 2.to_h # => {:foo => :bar, 1 => 2}
//}
ブロックを指定すると配列の各要素でブロックを呼び出し、
その結果をペアとして使います。
//emlist[ブロック付きの例][ruby]{
["foo", "bar"].to_h {|s| [s.ord, s]} # => {102=>"foo", 98=>"bar"}
//}... -
Array
# to _ h { block } -> Hash (30008.0) -
self を [key, value] のペアの配列として解析した結果を Hash にして 返します。
...ruby]{
bar], [1, 2.to_h # => {:foo => :bar, 1 => 2}
//}
ブロックを指定すると配列の各要素でブロックを呼び出し、
その結果をペアとして使います。
//emlist[ブロック付きの例][ruby]{
["foo", "bar"].to_h {|s| [s.ord, s]} # => {102=>"foo", 98=>"bar"}
//}...