186件ヒット
[101-186件を表示]
(0.094秒)
ライブラリ
- ビルトイン (12)
- benchmark (12)
-
net
/ ftp (12) -
rexml
/ document (60) -
rubygems
/ source _ info _ cache (24) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (18) -
shell
/ system-command (24)
クラス
-
Benchmark
:: Tms (12) -
Gem
:: SourceInfoCache (24) -
Net
:: FTP (12) -
RDoc
:: Options (12) -
REXML
:: DocType (36) -
REXML
:: Entity (12) -
REXML
:: NotationDecl (12) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (18) -
Shell
:: SystemCommand (24) - String (12)
キーワード
- command (6)
- echo (18)
- external (12)
-
external
_ id (12) - format (12)
-
latest
_ system _ cache _ file (12) - name (6)
- notify (12)
-
op
_ dir (12) - public (12)
- sum (12)
-
system
_ cache _ file (12) -
to
_ a (6) -
to
_ s (6)
検索結果
先頭5件
-
REXML
:: DocType # public -> String | nil (120.0) -
DTD の公開識別子を返します。
...html1/DTD/xhtml1-strict.dtd">
EOS
doctype.system # => "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
doctype.public # => "-//W3C//DTD XHTML 1.0 Strict//EN"
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE root SYSTEM "foobar">
EOS
doctype.system # => "foobar"
doctype.public # => nil
//... -
REXML
:: DocType # external _ id -> String | nil (118.0) -
DTD が外部サブセットを用いている場合は "SYSTEM", "PUBLIC" の いずれかの文字列を返します。
...DTD が外部サブセットを用いている場合は "SYSTEM", "PUBLIC" の
いずれかの文字列を返します。
それ以外の場合は nil を返します。
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML... -
REXML
:: Entity # external -> String | nil (118.0) -
実体が外部実体(external entity)宣言である場合は "SYSTEM" もしくは "PUBLIC" という文字列を返します。
...実体が外部実体(external entity)宣言である場合は
"SYSTEM" もしくは "PUBLIC" という文字列を返します。
内部実体(internal entity)宣言である場合には nil を返します。... -
Benchmark
:: Tms # format(fmtstr = nil , *args) -> String (114.0) -
self を指定されたフォーマットで整形して返します。
...られます。Benchmark::Tms#utime
: %y
system CPU time で置き換えられます(Mnemonic: y of "s*y*stem")。Benchmark::Tms#stime
: %U
子プロセスの user CPU time で置き換えられます。Benchmark::Tms#cutime
: %Y
子プロセスの system CPU time で置き換えられます... -
RDoc
:: Options # op _ dir -> String (108.0) -
コマンドライン引数の --op オプションで指定したディレクトリを返します。
...コマンドライン引数の --op オプションで指定したディレクトリを返します。
--ri、--ri-site、--ri-system オプションにも影響される事に注意してください。
@return 設定されたディレクトリを文字列で返します。... -
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 { |fi... -
Shell
:: CommandProcessor # 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 { |fi... -
Shell
:: Filter # 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 { |fi...