るりまサーチ

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

別のキーワード

  1. _builtin new
  2. _builtin inspect
  3. _builtin []
  4. _builtin to_s
  5. _builtin each

ライブラリ

クラス

検索結果

File::Stat#blocks -> Integer (26108.0)

割り当てられているブロック数を返します。

...割り当てられているブロック数を返します。

//emlist[][ruby]{
fs = File::Stat.new($0)
#例
p fs.blocks #=> nil
//}...

Enumerator#feed(obj) -> nil (8019.0)

Enumerator 内部の yield が返す値を設定します。

...10) の順に実行される
o = Object.new
def o.each
x = yield # (2) blocks
p x # (5) => "foo"
x = yield # (6) blocks
p x # (8) => nil
x = yield # (9) blocks
p x # not reached w/o another e.next
end

e = o.to_enum
e.next...