るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.069秒)

別のキーワード

  1. _builtin typeerror
  2. sort typeerror
  3. dump typeerror
  4. typeerror _builtin
  5. $@ typeerror

ライブラリ

クラス

検索結果

Array#cycle(n=nil) -> Enumerator (18115.0)

配列の全要素を n 回(nilの場合は無限に)繰り返しブロックを呼びだします。

...黙の型変換を試みます。

@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。

//emlist[例][ruby]{
a = ["a", "b", "c"]
a.cycle {|x| puts x } # print, a, b, c, a, b, c,.. foreve...

Array#cycle(n=nil) {|obj| block } -> nil (18115.0)

配列の全要素を n 回(nilの場合は無限に)繰り返しブロックを呼びだします。

...黙の型変換を試みます。

@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。

//emlist[例][ruby]{
a = ["a", "b", "c"]
a.cycle {|x| puts x } # print, a, b, c, a, b, c,.. foreve...