るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.094秒)
トップページ > クエリ:Kernel.#p[x] > バージョン:2.3.0[x] > クエリ:local_variables[x] > クエリ:y[x] > クエリ:constants[x] > クラス:Shell[x]

別のキーワード

  1. socket local_connwait
  2. socket local_creds
  3. socket local_peercred
  4. socket af_local
  5. socket pf_local

ライブラリ

キーワード

検索結果

Shell#[](command, file1, file2 = nil) -> bool | Time | Integer | nil (178.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"...

Shell#test(command, file1, file2 = nil) -> bool | Time | Integer | nil (178.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"...