18件ヒット
[1-18件を表示]
(0.011秒)
トップページ > クラス:Shell::CommandProcessor
>
:インスタンスメソッド
>
:commandprocessor
>
:shell/command-processor
>
:mkdir
![条件を削除 [x]](/images/drop-condition-icon.png)

![条件を削除 [x]](/images/drop-condition-icon.png)

![条件を削除 [x]](/images/drop-condition-icon.png)

![条件を削除 [x]](/images/drop-condition-icon.png)

![条件を削除 [x]](/images/drop-condition-icon.png)
別のキーワード
検索結果
先頭3件
-
Shell
:: CommandProcessor # mkdir(*path) -> Array (21127.0) -
Dir.mkdirと同じです。 (複数可)
...Dir.mkdirと同じです。 (複数可)
@param path 作成するディレクトリ名を文字列で指定します。
@return 作成するディレクトリの一覧の配列を返します。
使用例
require 'shell'
Shell.verbose = false
sh = Shell.new
begin
p sh.mkdir("foo") #=>... -
Shell
:: CommandProcessor # [](command , file1 , file2 = nil) -> bool | Time | Integer | nil (3010.0) -
Kernel.#test や FileTest のメソッドに処理を委譲します。
...@param file2 文字列でファイルへのパスを指定します。
require 'shell'
Shell.verbose = false
sh = Shell.new
begin
sh.mkdir("foo")
rescue
end
p sh[?e, "foo"] # => true
p sh[:e, "foo"] # => true
p sh["e", "foo"] # => true
p sh[:exists?,... -
Shell
:: CommandProcessor # test(command , file1 , file2 = nil) -> bool | Time | Integer | nil (3010.0) -
Kernel.#test や FileTest のメソッドに処理を委譲します。
...@param file2 文字列でファイルへのパスを指定します。
require 'shell'
Shell.verbose = false
sh = Shell.new
begin
sh.mkdir("foo")
rescue
end
p sh[?e, "foo"] # => true
p sh[:e, "foo"] # => true
p sh["e", "foo"] # => true
p sh[:exists?,...