るりまサーチ (Ruby 2.1.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.066秒)
トップページ > バージョン:2.1.0[x] > クエリ:Integer[x] > クラス:Dir[x]

別のキーワード

  1. openssl integer
  2. asn1 integer
  3. _builtin integer
  4. integer chr
  5. integer upto

ライブラリ

キーワード

検索結果

Dir#pos -> Integer (310.0)

ディレクトリストリームの現在の位置を整数で返します。

...ディレクトリストリームの現在の位置を整数で返します。

@raise IOError 既に自身が close している場合に発生します。

//emlist[例][ruby]{
Dir
.open("/tmp") {|d|
d.each {|f|
p d.pos
}
}
//}...

Dir#tell -> Integer (310.0)

ディレクトリストリームの現在の位置を整数で返します。

...ディレクトリストリームの現在の位置を整数で返します。

@raise IOError 既に自身が close している場合に発生します。

//emlist[例][ruby]{
Dir
.open("/tmp") {|d|
d.each {|f|
p d.pos
}
}
//}...