るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.017秒)
トップページ > クエリ:blocks[x] > 種類:特異メソッド[x]

別のキーワード

  1. stat blocks
  2. _builtin blocks
  3. blocks _builtin
  4. blocks file::stat

ライブラリ

クラス

キーワード

検索結果

File::Stat.new(path) -> File::Stat (7.0)

path に関する File::Stat オブジェクトを生成して返します。 File.stat と同じです。

...m Files/ruby-1.8/lib/ruby/site_ruby/1.8"
p File::Stat.new($:[0])
#=> 例
#<File::Stat dev=0x2, ino=0, mode=040755, nlink=1, uid=0, gid=0, rdev=0x2, size=0, blksize=nil, blocks=nil, atime=Sun Sep 02 14:15:20 +0900 2007, mtime=Tue Apr 24 23:03:44 +0900 2007, ctime=Tue Apr 24 23:03:37 +0900 2007>
//}...

Thread.handle_interrupt(hash) { ... } -> object (7.0)

スレッドの割り込みのタイミングを引数で指定した内容に変更してブロックを 実行します。

...hread.handle_interrupt による制御が有効です。

==== Stack control settings

It's possible to stack multiple levels of ::handle_interrupt blocks in order
to control more than one ExceptionClass and TimingSymbol at a time.

Thread.handle_interrupt(FooError => :never) {
Thread.handle_i...