別のキーワード
ライブラリ
- ビルトイン (352)
-
drb
/ extservm (33) - fileutils (11)
-
irb
/ cmd / chws (44) -
irb
/ cmd / help (22) -
irb
/ cmd / load (66) -
irb
/ cmd / nop (55) -
irb
/ cmd / pushws (66) -
irb
/ cmd / subirb (88) -
irb
/ ext / use-loader (22) -
irb
/ extend-command (143) - mkmf (88)
-
net
/ imap (11) -
net
/ protocol (11) -
net
/ smtp (11) - optparse (132)
- pty (44)
- rake (11)
-
rake
/ packagetask (44) -
rubygems
/ command (418) -
rubygems
/ command _ manager (99) -
rubygems
/ commands / build _ command (66) -
rubygems
/ commands / cert _ command (11) -
rubygems
/ commands / check _ command (11) -
rubygems
/ commands / cleanup _ command (11) -
rubygems
/ commands / contents _ command (11) -
rubygems
/ commands / dependency _ command (77) -
rubygems
/ commands / environment _ command (11) -
rubygems
/ commands / fetch _ command (11) -
rubygems
/ commands / generate _ index _ command (11) -
rubygems
/ commands / help _ command (33) -
rubygems
/ commands / install _ command (11) -
rubygems
/ commands / list _ command (11) -
rubygems
/ commands / lock _ command (33) -
rubygems
/ commands / mirror _ command (11) -
rubygems
/ commands / outdated _ command (11) -
rubygems
/ commands / pristine _ command (11) -
rubygems
/ commands / query _ command (11) -
rubygems
/ commands / rdoc _ command (11) -
rubygems
/ commands / search _ command (11) -
rubygems
/ commands / server _ command (11) -
rubygems
/ commands / sources _ command (11) -
rubygems
/ commands / specification _ command (11) -
rubygems
/ commands / stale _ command (11) -
rubygems
/ commands / uninstall _ command (11) -
rubygems
/ commands / unpack _ command (22) -
rubygems
/ commands / update _ command (33) -
rubygems
/ commands / which _ command (44) -
rubygems
/ exceptions (11) -
rubygems
/ ext / builder (11) -
rubygems
/ version _ option (33) - shell (96)
-
shell
/ builtin-command (18) -
shell
/ command-processor (504) -
shell
/ error (6) -
shell
/ filter (96) -
shell
/ process-controller (30) -
shell
/ system-command (102) - un (11)
クラス
-
DRb
:: ExtServManager (33) -
Gem
:: Command (407) -
Gem
:: CommandManager (88) -
Gem
:: Commands :: BuildCommand (55) -
Gem
:: Commands :: DependencyCommand (66) -
Gem
:: Commands :: HelpCommand (22) -
Gem
:: Commands :: LockCommand (22) -
Gem
:: Commands :: UnpackCommand (11) -
Gem
:: Commands :: UpdateCommand (22) -
Gem
:: Commands :: WhichCommand (33) -
Gem
:: Ext :: Builder (11) - IO (154)
-
IRB
:: ExtendCommand :: ChangeWorkspace (11) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (11) -
IRB
:: ExtendCommand :: Foreground (11) -
IRB
:: ExtendCommand :: Help (11) -
IRB
:: ExtendCommand :: IrbCommand (11) -
IRB
:: ExtendCommand :: Jobs (11) -
IRB
:: ExtendCommand :: Kill (11) -
IRB
:: ExtendCommand :: Load (11) -
IRB
:: ExtendCommand :: Nop (44) -
IRB
:: ExtendCommand :: PopWorkspace (11) -
IRB
:: ExtendCommand :: PushWorkspace (11) -
IRB
:: ExtendCommand :: Require (11) -
IRB
:: ExtendCommand :: Source (11) -
IRB
:: ExtendCommand :: Workspaces (11) -
Net
:: IMAP :: FetchData (11) - OptionParser (132)
-
Rake
:: PackageTask (44) - Shell (96)
-
Shell
:: BuiltInCommand (12) -
Shell
:: CommandProcessor (498) -
Shell
:: Filter (96) -
Shell
:: ProcessController (30) -
Shell
:: SystemCommand (96)
モジュール
- FileUtils (22)
-
Gem
:: VersionOption (22) -
IRB
:: ContextExtender (22) -
IRB
:: ExtendCommandBundle (132) - Kernel (264)
- PTY (44)
- Process (11)
- Signal (22)
キーワード
- < (6)
- > (6)
- >> (6)
- BuildCommand (11)
- BuiltInCommand (6)
- CertCommand (11)
- ChangeWorkspace (11)
- CheckCommand (11)
- CleanupCommand (11)
- Command (11)
- CommandLineError (11)
- CommandManager (11)
- CommandNotFound (6)
- CommandProcessor (6)
- ContentsCommand (11)
- CurrentWorkingWorkspace (11)
- DependencyCommand (11)
- EXAMPLES (11)
- EXT (11)
- EnvironmentCommand (11)
- ExtendCommandBundle (11)
- FetchCommand (11)
- Foreground (11)
- GenerateIndexCommand (11)
- HELP (11)
- Help (11)
- HelpCommand (11)
- InstallCommand (11)
- InstallUpdateOptions (11)
- IrbCommand (11)
- Jobs (11)
- Kill (11)
- ListCommand (11)
- Load (11)
- LocalRemoteOptions (11)
- LockCommand (11)
- MirrorCommand (11)
-
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 3
. 0 . 0 (4) -
NO
_ OVERRIDE (11) - NoDelegateMethods (6)
- Nop (11)
-
OVERRIDE
_ ALL (11) -
OVERRIDE
_ PRIVATE _ ONLY (11) - OutdatedCommand (11)
- PLATFORMS (11)
- PopWorkspace (11)
- PristineCommand (11)
- ProtoCommandError (11)
- PushWorkspace (11)
- QueryCommand (11)
- RdocCommand (11)
- Require (11)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
- SMTPUnsupportedCommand (11)
- SearchCommand (11)
- ServerCommand (11)
- Source (11)
- SourcesCommand (11)
- SpecificationCommand (11)
- StaleCommand (11)
- SystemCommand (6)
- UninstallCommand (11)
- UnpackCommand (11)
- UpdateCommand (11)
- VersionOption (11)
- WhichCommand (11)
- Win32ネイティブ版Rubyの互換性問題 (11)
- Workspaces (11)
- [] (29)
- ` (11)
- active? (12)
-
add
_ common _ option (11) -
add
_ delegate _ command _ to _ shell (6) -
add
_ extra _ args (11) -
add
_ option (11) -
add
_ platform _ option (11) -
add
_ schedule (6) -
add
_ specific _ extra _ args (11) -
add
_ version _ option (11) -
alias
_ command (18) -
alias
_ map (6) - append (6)
- arguments (33)
- atime (6)
- attr (11)
- basename (6)
- begins? (11)
- blockdev? (6)
-
build
_ args (11) -
build
_ args= (11) - cat (18)
-
cc
_ command (11) - chardev? (6)
-
check
_ point (6) - chmod (6)
- chown (6)
- command= (11)
-
command
_ names (11) -
command
_ processor (6) - commands (11)
- complain (11)
- concat (6)
-
cpp
_ command (11) - ctime (6)
-
def
_ builtin _ commands (6) -
def
_ extend _ command (22) -
def
_ system _ command (12) - defaults (11)
- defaults= (11)
-
defaults
_ str (11) - delete (6)
- description (11)
- directory? (6)
- dirname (6)
-
do
_ rubygems _ update (11) -
drb
/ extservm (11) - each (6)
- echo (18)
- exec (55)
- executable? (6)
-
executable
_ real? (6) - execute (198)
- exist? (6)
- exists? (6)
-
extend
_ object (11) -
extra
_ args (11) -
extra
_ args= (11) - file? (6)
-
find
_ command (11) -
find
_ command _ possibilities (11) -
find
_ gems (11) -
find
_ paths (11) -
find
_ reverse _ dependencies (11) -
find
_ system _ command (18) -
finish
_ all _ jobs (6) - flush (6)
- foreach (6)
- ftype (6)
-
gem
_ paths (11) -
get
_ all _ gem _ names (11) -
get
_ one _ gem _ name (11) -
get
_ one _ optional _ argument (11) -
get
_ path (11) - getoptlong (11)
- getpty (22)
- glob (18)
- grpowned? (6)
- handles? (11)
- help (11)
- identical? (6)
- initialize (6)
- input= (6)
-
install
_ alias _ method (11) -
install
_ builtin _ commands (6) -
install
_ extend _ commands (22) -
install
_ system _ commands (12) - instance (11)
- invoke (11)
-
irb
/ extend-command (11) -
irb
_ context (22) -
irb
_ exit (11) -
irb
_ load (11) -
irb
_ original _ method _ name (11) -
irb
_ require (11) - join (6)
- kill (6)
-
kill
_ job (6) - link (6)
-
link
_ command (11) -
load
_ gemspecs (11) - lstat (6)
-
method
_ added (6) - mkdir (6)
- mtime (6)
- name (6)
-
net
/ ftp (11) - new (23)
- notify (18)
- on (132)
- open (6)
-
optparse
/ date (11) -
optparse
/ shellwords (11) -
optparse
/ time (11) -
optparse
/ uri (11) - out (18)
- owned? (6)
- pipe? (6)
- popen (154)
-
print
_ dependencies (11) -
process
_ args (11) -
program
_ name (11) -
program
_ name= (11) - rdoc (11)
- readable? (6)
-
readable
_ real? (6) - readlink (6)
-
register
_ command (11) - rehash (6)
-
remove
_ option (11) - rename (6)
- rm (6)
- rmdir (6)
-
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) - rubygems (11)
-
rubygems
/ command (11) -
rubygems
/ command _ manager (11) -
rubygems
/ commands / build _ command (11) -
rubygems
/ commands / cert _ command (11) -
rubygems
/ commands / check _ command (11) -
rubygems
/ commands / cleanup _ command (11) -
rubygems
/ commands / contents _ command (11) -
rubygems
/ commands / dependency _ command (11) -
rubygems
/ commands / environment _ command (11) -
rubygems
/ commands / fetch _ command (11) -
rubygems
/ commands / generate _ index _ command (11) -
rubygems
/ commands / help _ command (11) -
rubygems
/ commands / install _ command (11) -
rubygems
/ commands / list _ command (11) -
rubygems
/ commands / lock _ command (11) -
rubygems
/ commands / mirror _ command (11) -
rubygems
/ commands / outdated _ command (11) -
rubygems
/ commands / pristine _ command (11) -
rubygems
/ commands / query _ command (11) -
rubygems
/ commands / rdoc _ command (11) -
rubygems
/ commands / search _ command (11) -
rubygems
/ commands / server _ command (11) -
rubygems
/ commands / sources _ command (11) -
rubygems
/ commands / specification _ command (11) -
rubygems
/ commands / stale _ command (11) -
rubygems
/ commands / uninstall _ command (11) -
rubygems
/ commands / unpack _ command (11) -
rubygems
/ commands / update _ command (11) -
rubygems
/ commands / which _ command (11) -
rubygems
/ server (11) -
rubygems
/ version _ option (11) - run (22)
-
run
_ config (6) - service (11)
- setgid? (6)
- setuid? (6)
- sfork (6)
- sh (11)
-
shell
/ builtin-command (6) -
shell
/ command-processor (6) -
shell
/ system-command (6) -
show
_ help (11) -
show
_ lookup _ failure (11) - size (6)
- size? (6)
- socket? (6)
- spawn (66)
-
spec
_ path (11) -
specific
_ extra _ args (11) -
specific
_ extra _ args _ hash (11) - split (6)
- start (6)
-
start
_ export (6) -
start
_ import (6) -
start
_ job (6) - stat (6)
- sticky? (6)
- summary (11)
- summary= (11)
-
super
_ each (6) - symlink (6)
- symlink? (6)
- system (62)
-
tar
_ command (11) -
tar
_ command= (11) - tee (18)
- terminate (6)
-
terminate
_ job (6) - test (18)
-
to
_ a (6) -
to
_ s (6) - transact (18)
- trap (44)
- truncate (6)
-
try
_ do (22) - tsort (11)
- un (11)
-
unalias
_ command (12) -
undef
_ system _ command (12) - unlink (6)
- usage (33)
- utime (6)
- wait? (12)
-
when
_ invoked (11) -
which
_ to _ update (11) -
win32
/ registry (11) -
world
_ readable? (6) -
world
_ writable? (6) - writable? (6)
-
writable
_ real? (6) - xpopen (22)
- xsystem (11)
- yaml? (11)
- zero? (6)
-
zip
_ command (11) -
zip
_ command= (11) - | (6)
- コマンド (11)
- リテラル (11)
検索結果
先頭5件
-
Net
:: IMAP :: FetchData # attr -> { String => object } (6.0) -
各メッセージのアトリビュートの値をハッシュテーブルで返します。
...BODY.PEEK[HEADER] と同じ。文字列。
: RFC822.SIZE
メッセージの 822 サイズ。整数。
: RFC822.TEXT
BODY[TEXT] と同じ。文字列。
: UID
UID。整数。
詳しくは 2060 の FETCH command の節を見てください。
@see Net::IMAP#fetch, Net::IMAP#uid_fetch... -
OptionParser
# on(long , desc = "") {|v| . . . } -> self (6.0) -
オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
オプションを取り扱うためのブロックを自身に登録します。
ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
ショートオプションとロングオプションを同時に登録することもできます。
opts.on("-r", "--require LIBRARY"){|lib| ...}
これは以下と同値です。
opts.on("-r LIBRARY"){|lib| ...}
opts.on("--require LIBRARY"){|lib| ...}
複数の異なるオプションに同じブロックを一度に登録することもできます。
opt.on('-v', '-vv')... -
OptionParser
# on(short , desc = "") {|v| . . . } -> self (6.0) -
オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
オプションを取り扱うためのブロックを自身に登録します。
ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
ショートオプションとロングオプションを同時に登録することもできます。
opts.on("-r", "--require LIBRARY"){|lib| ...}
これは以下と同値です。
opts.on("-r LIBRARY"){|lib| ...}
opts.on("--require LIBRARY"){|lib| ...}
複数の異なるオプションに同じブロックを一度に登録することもできます。
opt.on('-v', '-vv')... -
OptionParser
# on(short , long , desc = "") {|v| . . . } -> self (6.0) -
オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
オプションを取り扱うためのブロックを自身に登録します。
ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
ショートオプションとロングオプションを同時に登録することもできます。
opts.on("-r", "--require LIBRARY"){|lib| ...}
これは以下と同値です。
opts.on("-r LIBRARY"){|lib| ...}
opts.on("--require LIBRARY"){|lib| ...}
複数の異なるオプションに同じブロックを一度に登録することもできます。
opt.on('-v', '-vv')... -
Shell
# cat(*files) -> Shell :: Filter (6.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) | tee(... -
Shell
# echo(*strings) -> Shell :: Filter (6.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
....
@param strings シェルコマンド echo に与える引数を文字列で指定します。
動作例
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(fi... -
Shell
# glob(pattern) -> Shell :: Filter (6.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...す。
パターンの書式については、Dir.[] を参照してください。
動作例
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(f... -
Shell
# out(dev = STDOUT , &block) -> () (6.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
# tee(file) -> Shell :: Filter (6.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
# transact { . . . } -> object (6.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 と同じとなる。
}... -
Shell
:: Filter # <(src) -> self (6.0) -
srcをフィルタの入力とする。 srcが, 文字列ならばファイルを, IOオブジェクトであれ ばそれをそのまま入力とする。
...ばそれをそのまま入力とする。
@param src フィルタの入力を, 文字列もしくは,IO オブジェクトで指定します。
使用例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
(sh.head("-n 30") < "/etc/passwd") > "ugo.txt"
}... -
Shell
:: Filter # >(to) -> self (6.0) -
toをフィルタの出力とする。 toが, 文字列ならばファイルに, IOオブジェクトであれ ばそれをそのまま出力とする。
...す。文字列ならばファイルに,IOオブジェクトならばそれに出力します。
使用例
require 'shell'
Shell.def_system_command("tail")
sh = Shell.new
sh.transact {
(sh.tail("-n 3") < "/etc/passwd") > File.open("tail.out", "w")
#(sh.tail("-n 3") < "/etc/passwd")... -
Shell
:: Filter # >>(to) -> self (6.0) -
toをフィルタに追加する。 toが, 文字列ならばファイルに, IOオブジェクトであれば それをそのまま出力とする。
...す。文字列ならばファイルに、IOオブジェクトならばそれに出力します。
使用例
require 'shell'
Shell.def_system_command("tail")
sh = Shell.new
sh.transact {
(sh.tail("-n 3") < "/etc/passwd") >> "tail.out"
#(sh.tail("-n 3") < "/etc/passwd") >> File.open... -
Shell
:: Filter # cat(*files) -> Shell :: Filter (6.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) | tee(...