273件ヒット
[1-100件を表示]
(0.041秒)
別のキーワード
種類
- インスタンスメソッド (198)
- 特異メソッド (75)
ライブラリ
- shell (273)
キーワード
- [] (6)
- basename (6)
- cascade= (6)
- chmod (6)
- chown (6)
- cwd (6)
- debug (12)
- debug= (12)
- debug? (12)
-
debug
_ output _ exclusive _ unlock (3) -
debug
_ output _ lock (6) -
debug
_ output _ locked? (6) -
debug
_ output _ synchronize (6) -
debug
_ output _ try _ lock (6) -
debug
_ output _ unlock (6) -
default
_ record _ separator (6) - delete (6)
- dir (6)
-
dir
_ stack (6) - dirname (6)
- dirs (6)
- echo (6)
- ftype (6)
- getwd (6)
- glob (6)
- grpowned? (6)
- join (6)
- kill (6)
- notify (6)
- pwd (6)
- readlink (6)
-
record
_ separator (6) - rm (6)
- setgid? (6)
- size (6)
- size? (6)
- split (6)
- test (6)
- truncate (6)
- utime (6)
- verbose= (12)
検索結果
先頭5件
-
Shell
# debug -> bool | Integer (6101.0) -
@todo
@todo -
Shell
# debug=(flag) (6101.0) -
@todo
@todo -
Shell
# debug? -> bool | Integer (6101.0) -
@todo
@todo -
Shell
# glob(pattern) -> Shell :: Filter (6101.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...attern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |f... -
Shell
# grpowned?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#grpowned?... -
Shell
# setgid?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#setgid?... -
Shell
. debug -> bool | Integer (6101.0) -
@todo
@todo
デバッグ用フラグを参照します。 -
Shell
. debug=(val) (6101.0) -
デバッグ用のフラグを設定します。
...デバッグ用のフラグを設定します。
@param val bool 値や整数値を指定します。詳細は下記を参照してください。
# debug: true -> normal debug
# debug: 1 -> eval definition debug
# debug: 2 -> detail inspect debug... -
Shell
. debug? -> bool | Integer (6101.0) -
@todo
@todo
デバッグ用フラグを参照します。 -
Shell
. debug _ output _ exclusive _ unlock { . . . } -> Mutex | nil (6101.0) -
@todo
@todo
@see Mutex#exclusive_unlock -
Shell
. debug _ output _ lock -> Mutex (6101.0) -
@todo
@todo
@see Mutex#lock@todo
@see Thread::Mutex#lock -
Shell
. debug _ output _ locked? -> bool (6101.0) -
@todo
@todo
@see Mutex#locked?@todo
@see Thread::Mutex#locked? -
Shell
. debug _ output _ synchronize (6101.0) -
@todo
@todo
@see Mutex#synchronize@todo
@see Thread::Mutex#synchronize -
Shell
. debug _ output _ try _ lock -> bool (6101.0) -
@todo
@todo
@see Mutex#try_lock@todo
@see Thread::Mutex#try_lock -
Shell
. debug _ output _ unlock -> Mutex | nil (6101.0) -
@todo
@todo
@see Mutex#unlock@todo
@see Thread::Mutex#unlock -
Shell
# getwd -> String (3101.0) -
カレントディレクトリのパスを文字列で返します。
...カレントディレクトリのパスを文字列で返します。
使用例
require 'shell'
sh = Shell.new
p sh.cwd
# 例
#=> "/Users/kouya/tall"... -
Shell
# [](command , file1 , file2 = nil) -> bool | Time | Integer | nil (101.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
# basename(filename , suffix = "") -> String (101.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。
@see File.basename