1926件ヒット
[1901-1926件を表示]
(0.116秒)
別のキーワード
ライブラリ
-
drb
/ extservm (12) -
irb
/ cmd / chws (24) -
irb
/ cmd / help (12) -
irb
/ cmd / load (36) -
irb
/ cmd / nop (24) -
irb
/ cmd / pushws (36) -
irb
/ cmd / subirb (48) -
irb
/ ext / use-loader (24) -
irb
/ extend-command (36) - mkmf (96)
-
net
/ imap (12) - optparse (144)
- rake (12)
-
rake
/ packagetask (48) -
rubygems
/ command (324) -
rubygems
/ command _ manager (84) -
rubygems
/ commands / build _ command (60) -
rubygems
/ commands / dependency _ command (72) -
rubygems
/ commands / lock _ command (24) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ commands / update _ command (24) -
rubygems
/ commands / which _ command (24) -
rubygems
/ version _ option (24) - shell (66)
-
shell
/ builtin-command (12) -
shell
/ command-processor (408) -
shell
/ filter (96) -
shell
/ process-controller (30) -
shell
/ system-command (90) - un (12)
クラス
-
DRb
:: ExtServManager (12) -
Gem
:: Command (324) -
Gem
:: CommandManager (84) -
Gem
:: Commands :: BuildCommand (60) -
Gem
:: Commands :: DependencyCommand (72) -
Gem
:: Commands :: LockCommand (24) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: Commands :: UpdateCommand (24) -
Gem
:: Commands :: WhichCommand (24) -
IRB
:: ExtendCommand :: ChangeWorkspace (12) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (12) -
IRB
:: ExtendCommand :: Foreground (12) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: ExtendCommand :: IrbCommand (12) -
IRB
:: ExtendCommand :: Jobs (12) -
IRB
:: ExtendCommand :: Kill (12) -
IRB
:: ExtendCommand :: Load (12) -
IRB
:: ExtendCommand :: Nop (24) -
IRB
:: ExtendCommand :: PopWorkspace (12) -
IRB
:: ExtendCommand :: PushWorkspace (12) -
IRB
:: ExtendCommand :: Require (12) -
IRB
:: ExtendCommand :: Source (12) -
IRB
:: ExtendCommand :: Workspaces (12) -
Net
:: IMAP :: FetchData (12) - OptionParser (144)
-
Rake
:: PackageTask (48) - Shell (66)
-
Shell
:: BuiltInCommand (12) -
Shell
:: CommandProcessor (408) -
Shell
:: Filter (96) -
Shell
:: ProcessController (30) -
Shell
:: SystemCommand (90)
モジュール
- FileUtils (12)
-
Gem
:: VersionOption (24) -
IRB
:: ExtendCommandBundle (60) - Kernel (108)
キーワード
- < (6)
- > (6)
- >> (6)
- [] (30)
- active? (12)
-
add
_ extra _ args (12) -
add
_ option (12) -
add
_ platform _ option (12) -
add
_ schedule (6) -
add
_ version _ option (12) - append (6)
- arguments (36)
- atime (6)
- attr (12)
- basename (6)
- begins? (12)
- blockdev? (6)
- cat (18)
-
cc
_ command (12) - chardev? (6)
-
check
_ point (6) - chmod (6)
- chown (6)
-
command
_ names (12) -
command
_ processor (6) - complain (12)
- concat (6)
-
cpp
_ command (12) - ctime (6)
- defaults (12)
- defaults= (12)
-
defaults
_ str (12) - delete (6)
- description (12)
- directory? (6)
- dirname (6)
-
do
_ rubygems _ update (12) - each (6)
- echo (18)
- executable? (6)
-
executable
_ real? (6) - execute (204)
- exist? (6)
- exists? (6)
- file? (6)
-
find
_ command (12) -
find
_ command _ possibilities (12) -
find
_ gems (12) -
find
_ paths (12) -
find
_ reverse _ dependencies (12) -
find
_ system _ command (18) -
finish
_ all _ jobs (6) - flush (6)
- foreach (6)
- ftype (6)
-
gem
_ paths (12) -
get
_ all _ gem _ names (12) -
get
_ one _ gem _ name (12) -
get
_ one _ optional _ argument (12) -
get
_ path (12) - glob (18)
- grpowned? (6)
- handles? (12)
- help (12)
- identical? (6)
- input= (6)
-
install
_ alias _ method (12) - invoke (12)
-
irb
_ context (24) -
irb
_ exit (12) -
irb
_ load (12) -
irb
_ require (12) - join (6)
- kill (6)
-
kill
_ job (6) - link (6)
-
link
_ command (12) -
load
_ gemspecs (12) - lstat (6)
- mkdir (6)
- mtime (6)
- name (6)
- notify (18)
- on (144)
- open (6)
- out (18)
- owned? (6)
- pipe? (6)
-
print
_ dependencies (12) -
process
_ args (12) -
program
_ name (12) -
program
_ name= (12) - readable? (6)
-
readable
_ real? (6) - readlink (6)
-
register
_ command (12) - rehash (6)
-
remove
_ option (12) - rename (6)
- rm (6)
- rmdir (6)
- run (12)
- service (12)
- setgid? (6)
- setuid? (6)
- sfork (6)
- sh (12)
-
show
_ help (12) -
show
_ lookup _ failure (12) - size (6)
- size? (6)
- socket? (6)
-
spec
_ path (12) - split (6)
- start (6)
-
start
_ export (6) -
start
_ import (6) -
start
_ job (6) - stat (6)
- sticky? (6)
- summary (12)
- summary= (12)
-
super
_ each (6) - symlink (6)
- symlink? (6)
- system (18)
-
tar
_ command (12) -
tar
_ command= (12) - tee (18)
- terminate (6)
-
terminate
_ job (6) - test (18)
-
to
_ a (6) -
to
_ s (6) - transact (18)
- truncate (6)
-
try
_ do (24) - unlink (6)
- usage (36)
- utime (6)
- wait? (12)
-
when
_ invoked (12) -
which
_ to _ update (12) -
world
_ readable? (6) -
world
_ writable? (6) - writable? (6)
-
writable
_ real? (6) - xpopen (24)
- xsystem (12)
- yaml? (12)
- zero? (6)
-
zip
_ command (12) -
zip
_ command= (12) - | (6)
検索結果
先頭5件
-
Shell
:: Filter # out(dev = STDOUT , &block) -> () (7.0) -
Shell#transact を呼び出しその結果を dev に出力します。
...ェクトなどで指定します。
@param block transact 内部で実行するシェルを指定します。
使用例:
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
File.open("out.txt", "w"){ |fp|
sh.out(fp) {
system("ls", "-l") | head("-n 3")
}
}... -
Shell
:: Filter # tee(file) -> Shell :: Filter (7.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...@param file シェルコマンドtee に与えるファイル名を文字列で指定します。
動作例
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) | tee(... -
Shell
:: Filter # to _ a -> [String] (7.0) -
実行結果を文字列の配列で返します。
...実行結果を文字列の配列で返します。
require 'shell'
Shell.def_system_command("wc")
sh = Shell.new
puts sh.cat("/etc/passwd").to_a... -
Shell
:: Filter # to _ s -> String (7.0) -
実行結果を文字列で返します。
...実行結果を文字列で返します。
require 'shell'
Shell.def_system_command("wc")
sh = Shell.new
sh.transact {
puts (cat("/etc/passwd") | wc("-l")).to_s
}... -
Shell
:: Filter # transact { . . . } -> object (7.0) -
ブロック中で shell を self として実行します。
...ブロック中で shell を self として実行します。
例:
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact{
system("ls", "-l") | head > STDOUT
# transact の中では、
# sh.system("ls", "-l") | sh.head > STDOUT と同じとなる。
}...