120件ヒット
[1-100件を表示]
(0.243秒)
ライブラリ
- benchmark (12)
-
rexml
/ document (36) -
rubygems
/ source _ info _ cache (24) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (12) -
shell
/ system-command (24)
クラス
-
Benchmark
:: Tms (12) -
Gem
:: SourceInfoCache (24) -
REXML
:: DocType (12) -
REXML
:: Entity (12) -
REXML
:: NotationDecl (12) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (12) -
Shell
:: SystemCommand (24)
キーワード
- command (6)
- echo (18)
- external (12)
-
external
_ id (12) - format (12)
-
latest
_ system _ cache _ file (12) - name (6)
- notify (12)
-
system
_ cache _ file (12) -
to
_ a (6)
検索結果
先頭5件
-
REXML
:: NotationDecl # system -> String | nil (21203.0) -
システム識別子(URI)を返します。
システム識別子(URI)を返します。
宣言がシステム識別子を含まない場合は nil を返します。 -
Gem
:: SourceInfoCache # latest _ system _ cache _ file -> String (15303.0) -
最新のシステムキャッシュのファイル名を返します。
最新のシステムキャッシュのファイル名を返します。 -
Gem
:: SourceInfoCache # system _ cache _ file -> String (15303.0) -
システムキャッシュファイルの名前を返します。
システムキャッシュファイルの名前を返します。 -
Shell
:: SystemCommand # command -> String (12203.0) -
@todo
@todo
コマンド名を返します。 -
Shell
:: SystemCommand # name -> String (12203.0) -
@todo
@todo
コマンド名を返します。 -
REXML
:: DocType # external _ id -> String | nil (6218.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......doctype.name # => "html"
doctype.external_id # => "PUBLIC"
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT books (book+)>
<!ELEMENT book (title,author)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT author (#PCDATA)>
]>
EOS
doctype.name # => "books"
doctype.external_id # =>... -
REXML
:: Entity # external -> String | nil (6218.0) -
実体が外部実体(external entity)宣言である場合は "SYSTEM" もしくは "PUBLIC" という文字列を返します。
...実体が外部実体(external entity)宣言である場合は
"SYSTEM" もしくは "PUBLIC" という文字列を返します。
内部実体(internal entity)宣言である場合には nil を返します。... -
Shell
:: Filter # to _ a -> [String] (6215.0) -
実行結果を文字列の配列で返します。
...実行結果を文字列の配列で返します。
require 'shell'
Shell.def_system_command("wc")
sh = Shell.new
puts sh.cat("/etc/passwd").to_a... -
Benchmark
:: Tms # format(fmtstr = nil , *args) -> String (6214.0) -
self を指定されたフォーマットで整形して返します。
...Kernel.#format のようにオブジェクトを整形しますが、
以下の拡張を使用することができます。
: %u
user CPU time で置き換えられます。Benchmark::Tms#utime
: %y
system CPU time で置き換えられます(Mnemonic: y of "s*y*stem")。Benchmark::Tms#stime......えられます。Benchmark::Tms#cutime
: %Y
子プロセスの system CPU time で置き換えられます。Benchmark::Tms#cstime
: %t
total CPU time で置き換えられます。Benchmark::Tms#total
: %r
実経過時間で置き換えられます。Benchmark::Tms#real
: %n
ラベルで......置き換えられます(Mnemonic: n of "*n*ame")。Benchmark::Tms#label
@param fmtstr フォーマット文字列です。
省略された場合は、Benchmark::Tms::FORMAT が使用されます。
@param args フォーマットされる引数です。... -
Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String (6203.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: SystemCommand # notify(*opts) -> String (6103.0) -
@todo
...@todo
@param opts
@see Shell#notify...