るりまサーチ

最速Rubyリファレンスマニュアル検索!
6件ヒット [1-6件を表示] (0.020秒)
トップページ > ライブラリ:shell[x] > クラス:Shell[x] > クエリ:b[x] > クエリ:glob[x]

別のキーワード

  1. string b
  2. _builtin b
  3. b
  4. b string
  5. b _builtin

検索結果

Shell#glob(pattern) -> Shell::Filter (24216.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...tern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。

動作例
require 'shell'
Shell
.def_system_command("head")
sh = Shell.new
sh.transact {
glob
("*.txt").to_a.each { |fil...