354件ヒット
[1-100件を表示]
(0.013秒)
クラス
- Shell (144)
-
Shell
:: Cat (6) -
Shell
:: CommandProcessor (96) -
Shell
:: Concat (6) -
Shell
:: Filter (90) -
Shell
:: ProcessController (6) -
Shell
:: SystemCommand (6)
キーワード
- atime (18)
- cat (18)
- cd (6)
- chdir (6)
- concat (18)
- each (12)
- foreach (18)
- glob (18)
- lstat (18)
- mkdir (18)
- open (18)
- pushd (6)
- pushdir (6)
- readlink (18)
-
record
_ separator (6) -
record
_ separator= (6) - rmdir (18)
- split (18)
- stat (18)
-
system
_ path (6) -
system
_ path= (6) - terminate (6)
-
terminate
_ job (6) - truncate (18)
- unlink (18)
- utime (18)
検索結果
先頭5件
-
Shell
# concat(*jobs) -> Shell :: Concat (6203.0) -
@todo
@todo -
Shell
# expand _ path(path) -> String (6203.0) -
Fileクラスにある同名のクラスメソッドと同じです.
...Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path... -
Shell
# lstat(filename) -> File :: Stat (6203.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.lstat... -
Shell
# stat(filename) -> File :: Stat (6203.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.stat... -
Shell
# system _ path=(path) (6203.0) -
コマンドサーチパスの配列を返す。
...コマンドサーチパスの配列を返す。
@param path コマンドサーチパスの配列を指定します。
使用例
require 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]... -
Shell
# truncate(path , length) -> 0 (6203.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
:: CommandProcessor # concat(*jobs) -> Shell :: Concat (6202.0) -
@todo
@todo -
Shell
:: CommandProcessor # expand _ path(path) -> String (6202.0) -
Fileクラスにある同名のクラスメソッドと同じです.
...Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path... -
Shell
:: CommandProcessor # lstat(filename) -> File :: Stat (6202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.lstat... -
Shell
:: CommandProcessor # stat(filename) -> File :: Stat (6202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.stat... -
Shell
:: CommandProcessor # truncate(path , length) -> 0 (6202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
:: Filter # concat(*jobs) -> Shell :: Concat (6202.0) -
@todo
@todo -
Shell
:: Filter # lstat(filename) -> File :: Stat (6202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.lstat... -
Shell
:: Filter # stat(filename) -> File :: Stat (6202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.stat... -
Shell
:: Filter # truncate(path , length) -> 0 (6202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
# atime(filename) -> Time (6103.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.atime... -
Shell
# cat(*files) -> Shell :: Filter (6103.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...@param files シェルコマンド cat に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) | t...