516件ヒット
[301-400件を表示]
(0.170秒)
ライブラリ
-
irb
/ cmd / help (12) - mkmf (36)
-
net
/ imap (12) - optparse (144)
-
rake
/ packagetask (24) -
rubygems
/ command (108) -
rubygems
/ commands / build _ command (24) -
rubygems
/ commands / dependency _ command (36) -
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / unpack _ command (12) - shell (6)
-
shell
/ command-processor (48) -
shell
/ filter (18) -
shell
/ system-command (24)
クラス
-
Gem
:: Command (108) -
Gem
:: Commands :: BuildCommand (24) -
Gem
:: Commands :: DependencyCommand (36) -
Gem
:: Commands :: LockCommand (12) -
Gem
:: Commands :: UnpackCommand (12) -
IRB
:: ExtendCommand :: Help (12) -
Net
:: IMAP :: FetchData (12) - OptionParser (144)
-
Rake
:: PackageTask (24) - Shell (6)
-
Shell
:: CommandProcessor (48) -
Shell
:: Filter (18) -
Shell
:: SystemCommand (24)
モジュール
- Kernel (36)
キーワード
- arguments (36)
- attr (12)
- basename (6)
-
cc
_ command (12) -
cpp
_ command (12) -
defaults
_ str (12) - description (12)
- dirname (6)
- echo (18)
- execute (12)
- ftype (6)
-
get
_ one _ gem _ name (12) -
get
_ one _ optional _ argument (12) -
get
_ path (12) - join (6)
-
link
_ command (12) - name (6)
- notify (12)
- on (144)
-
print
_ dependencies (12) -
program
_ name (12) - readlink (6)
-
spec
_ path (12) - split (6)
- summary (12)
-
tar
_ command (12) -
to
_ a (6) -
to
_ s (6) - usage (36)
-
zip
_ command (12)
検索結果
先頭5件
-
Shell
:: CommandProcessor # ftype(filename) -> String (3102.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.ftype -
Shell
:: CommandProcessor # join(*item) -> String (3102.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param item 連結したいディレクトリ名やファイル名を文字列で与えます。
@see File.join -
Shell
:: CommandProcessor # readlink(path) -> String (3102.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param path シンボリックリンクを表す文字列を指定します。
@see File.readlink -
Shell
:: CommandProcessor # split(pathname) -> [String] (3102.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param pathname パス名を表す文字列を指定します。
@see File.split -
IRB
:: ExtendCommand :: Help # execute(*names) -> nil (3019.0) -
RI から Ruby のドキュメントを参照します。
...RI から Ruby のドキュメントを参照します。
irb(main):001:0> help String#match
...
@param names 参照したいクラス名やメソッド名などを文字列で指定します。
names を指定しなかった場合は、RI を対話的なモードで起動します。メソ......irb(main):001:0> help
Enter the method name you want to look up.
You can use tab to autocomplete.
Enter a blank line to exit.
>> String#match
String#match
(from ruby core)
------------------------------------------------------------------------------
str.match(pattern) -... -
OptionParser
# on(long , klass = String , desc = "") {|v| . . . } -> self (126.0) -
オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
...渡されます。
opts.on("-w", "--width N", Integer){|w|
p w.class #=> Integer
}
# ruby command --width=32
opts.on("-o", "--overwrite VALUE", TrueClass){|boolean| ...}
# ruby command --overwrite yes
@param short ショートオプションを表す文字列を指定します。
@......場合に発生します。
=== デフォルトで利用可能な引数クラス
: Object
オプションの引数は変換されません。
: String
オプションの引数は変換されません。ただし、空文字列を指定すると
OptionParser::InvalidArgument が発生します... -
OptionParser
# on(short , klass = String , desc = "") {|v| . . . } -> self (126.0) -
オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
...渡されます。
opts.on("-w", "--width N", Integer){|w|
p w.class #=> Integer
}
# ruby command --width=32
opts.on("-o", "--overwrite VALUE", TrueClass){|boolean| ...}
# ruby command --overwrite yes
@param short ショートオプションを表す文字列を指定します。
@......場合に発生します。
=== デフォルトで利用可能な引数クラス
: Object
オプションの引数は変換されません。
: String
オプションの引数は変換されません。ただし、空文字列を指定すると
OptionParser::InvalidArgument が発生します... -
OptionParser
# on(short , long , klass = String , desc = "") {|v| . . . } -> self (126.0) -
オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
...渡されます。
opts.on("-w", "--width N", Integer){|w|
p w.class #=> Integer
}
# ruby command --width=32
opts.on("-o", "--overwrite VALUE", TrueClass){|boolean| ...}
# ruby command --overwrite yes
@param short ショートオプションを表す文字列を指定します。
@......場合に発生します。
=== デフォルトで利用可能な引数クラス
: Object
オプションの引数は変換されません。
: String
オプションの引数は変換されません。ただし、空文字列を指定すると
OptionParser::InvalidArgument が発生します... -
Net
:: IMAP :: FetchData # attr -> { String => object } (114.0) -
各メッセージのアトリビュートの値をハッシュテーブルで返します。
...ベロープ。
Net::IMAP::Envelope オブジェクト。
: FLAGS
メッセージにセットされたフラグ。
Symbol の配列。String#capitalize でキャピタライズ
されている。
: INTERNALDATE
メッセージの内部日付。文字列。
: RFC822
BODY[] と......BODY.PEEK[HEADER] と同じ。文字列。
: RFC822.SIZE
メッセージの 822 サイズ。整数。
: RFC822.TEXT
BODY[TEXT] と同じ。文字列。
: UID
UID。整数。
詳しくは 2060 の FETCH command の節を見てください。
@see Net::IMAP#fetch, Net::IMAP#uid_fetch... -
Shell
:: Filter # to _ a -> [String] (108.0) -
実行結果を文字列の配列で返します。
...実行結果を文字列の配列で返します。
require 'shell'
Shell.def_system_command("wc")
sh = Shell.new
puts sh.cat("/etc/passwd").to_a... -
Shell
:: Filter # to _ s -> String (108.0) -
実行結果を文字列で返します。
...実行結果を文字列で返します。
require 'shell'
Shell.def_system_command("wc")
sh = Shell.new
sh.transact {
puts (cat("/etc/passwd") | wc("-l")).to_s
}... -
Shell
# echo(*strings) -> Shell :: Filter (107.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
..., それらを内容とする Filter オブジェクトを返します.
@param strings シェルコマンド echo に与える引数を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|...