570件ヒット
[201-300件を表示]
(0.133秒)
ライブラリ
- ビルトイン (48)
- benchmark (36)
- matrix (12)
- mkmf (12)
- rake (24)
-
rexml
/ document (72) -
rexml
/ sax2listener (24) -
rexml
/ streamlistener (36) -
rubygems
/ source _ info _ cache (24) - shell (60)
-
shell
/ command-processor (48) -
shell
/ filter (84) -
shell
/ system-command (90)
クラス
-
Benchmark
:: Tms (36) -
File
:: Stat (12) -
Gem
:: SourceInfoCache (24) - IO (12)
- Matrix (12)
-
REXML
:: DocType (36) -
REXML
:: Entity (12) -
REXML
:: NotationDecl (24) -
Rake
:: Application (12) - Shell (60)
-
Shell
:: CommandProcessor (48) -
Shell
:: Filter (84) -
Shell
:: SystemCommand (90) - SystemCallError (12)
- SystemExit (12)
モジュール
- FileUtils (12)
- Kernel (12)
-
REXML
:: SAX2Listener (24) -
REXML
:: StreamListener (36)
キーワード
- < (6)
- > (6)
- >> (6)
- active? (6)
- cat (18)
-
close
_ on _ exec= (12) - command (6)
- cstime (12)
- doctype (24)
- each (6)
- echo (18)
- eigensystem (12)
- entitydecl (12)
- errno (12)
- external (12)
-
external
_ id (12) -
find
_ system _ command (18) - flush (6)
- format (12)
- glob (18)
- input= (6)
- kill (6)
-
latest
_ system _ cache _ file (12) - name (6)
- notationdecl (24)
- notify (12)
- out (18)
- pipe? (12)
- public (12)
- sh (12)
- start (6)
-
start
_ export (6) -
start
_ import (6) - stime (12)
- success? (12)
-
super
_ each (6) - system= (12)
-
system
_ cache _ file (12) -
system
_ path (6) -
system
_ path= (6) - tee (18)
- terminate (6)
-
to
_ a (6) -
to
_ s (6) - transact (18)
- wait? (6)
- xsystem (12)
- | (6)
検索結果
先頭5件
-
REXML
:: DocType # external _ id -> String | nil (6117.0) -
DTD が外部サブセットを用いている場合は "SYSTEM", "PUBLIC" の いずれかの文字列を返します。
..."SYSTEM", "PUBLIC" の
いずれかの文字列を返します。
それ以外の場合は nil を返します。
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1....../DTD/xhtml1-strict.dtd">
EOS
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 # => "bo......oks"
doctype.external_id # => nil
//}... -
IO
# close _ on _ exec=(bool) (6107.0) -
自身に close-on-exec フラグを設定します。
...に close-on-exec フラグを設定します。
このフラグをセットすると exec(2) 時にそのファイルデスクリプタを
close します。
@see fcntl(2)
@param bool 自身の close-on-exec フラグを true か false で指定します。
f = open("/dev/null")
f.close_on......_exec = true
system("cat", "/proc/self/fd/#{f.fileno}") # cat: /proc/self/fd/3: No such file or directory
f.closed? #=> false
@see IO#close_on_exec?... -
REXML
:: StreamListener # notationdecl(content) -> () (6107.0) -
DTDの記法宣言をパースしたときに呼び出されるコールバックメソッドです。
...DTDの記法宣言をパースしたときに呼び出されるコールバックメソッドです。
@param content 記法宣言が
[記法名文字列, 種別("PUBLIC" もしくは "SYSTEM"), 公開識別子文字列,
URI文字列] という配列で渡されます。... -
Shell
:: SystemCommand # active? -> bool (6101.0) -
@todo
@todo -
Shell
:: SystemCommand # each(rs = nil) {|line| . . . } (6101.0) -
@todo
@todo
@param rs -
Shell
:: SystemCommand # wait? -> bool (6101.0) -
@todo
@todo -
SystemCallError
# errno -> Integer | nil (6101.0) -
レシーバに対応するシステム依存のエラーコードを返します。
...は nil を返します。
begin
raise Errno::ENOENT
rescue Errno::ENOENT => err
p err.errno # => 2
p Errno::ENOENT::Errno # => 2
end
begin
raise SystemCallError, 'message'
rescue SystemCallError => err
p err.errno # => nil
end... -
Shell
:: SystemCommand # command -> String (6001.0) -
@todo
@todo
コマンド名を返します。 -
Shell
:: SystemCommand # input=(inp) (6001.0) -
@todo
@todo -
Shell
:: SystemCommand # name -> String (6001.0) -
@todo
@todo
コマンド名を返します。 -
Shell
:: SystemCommand # notify(*opts) -> String (6001.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String (6001.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: SystemCommand # start -> () (6001.0) -
@todo
@todo