最速Rubyリファレンスマニュアル検索!
すべて(6)
2.6.0(1)
2.7.0(1)
3.0(1)
3.1(1)
3.2(1)
3.3(1)
6件ヒット
[1-6件を表示]
(0.009秒)
トップページ
>
クラス:
Dir
>
:
インスタンスメソッド
>
:
IOError
>
:children
別のキーワード
_builtin ioerror
close ioerror
ioerror _builtin
to_write_io ioerror
news for ruby 2.5.0 ioerror
ライブラリ
ビルトイン
(6)
検索結果
先頭1件
Dir
#
children -> [String]
Dir
#
children -> [String]
(18121.0)
2.6.0
2.7.0
3.0
3.1
3.2
3.3
インスタンスメソッド
ディレクトリのファイルエントリ名のうち、 "." と ".." をのぞいた配列を返します。
...
ディレクトリのファイルエントリ名のうち、
"." と ".." をのぞいた配列を返します。
@raise
IOError
既に self が close している場合に発生します。
//emlist[例][ruby]{
Dir
.open('.'){|d|
p d.
children
# => ["bar", "foo"]
}
//}
@see
Dir
.
children
...