るりまサーチ

最速Rubyリファレンスマニュアル検索!
630件ヒット [201-300件を表示] (0.072秒)

別のキーワード

  1. kernel system
  2. _builtin system
  3. socket pf_system
  4. socket af_system
  5. socket eai_system

モジュール

キーワード

検索結果

<< < 1 2 3 4 5 ... > >>

Shell::SystemCommand#start -> () (3001.0)

@todo

@todo

Shell::SystemCommand#start_export (3001.0)

@todo

@todo

Shell::SystemCommand#start_import -> () (3001.0)

@todo

@todo

Shell::SystemCommand#super_each -> () (3001.0)

@todo

@todo

Shell::Filter#each です。

Shell::SystemCommand#terminate -> () (3001.0)

@todo

@todo

絞り込み条件を変える

Shell::SystemCommand#wait? -> bool (3001.0)

@todo

@todo

SystemCallError#errno -> Integer | nil (3001.0)

レシーバに対応するシステム依存のエラーコードを返します。

...escue 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


なお、例外を発生させずにエラーコードを得...

SystemExit#status -> Integer (3001.0)

例外オブジェクトに保存された終了ステータスを返します。

...します。

終了ステータスは Kernel.#exit や SystemExit.new などで設定されます。

例:

begin
exit 1
rescue SystemExit => err
p err.status # => 1
end

begin
raise SystemExit.new(1, "dummy exit")
rescue SystemExit => err
p err.status # => 1
end...

SystemExit#success? -> bool (3001.0)

終了ステータスが正常終了を示す値ならば true を返します。

...値ならば true を返します。

大半のシステムでは、ステータス 0 が正常終了を表します。

例:

begin
exit true
rescue SystemExit => err
p err.success? # => true
end

begin
exit false
rescue SystemExit => err
p err.success? # => false
end...

REXML::SAX2Listener#notationdecl(name, public_or_system, public_id, system_id) -> () (221.0)

DTDの記法宣言に出会ったときに呼び出されるコールバックメソッドです。

...法名が文字列で渡されます
@param public_or_system "PUBLIC" もしくは "SYSTEM" が渡されます
@param public_id 公開識別子が文字列で渡されます。指定されていない場合はnilが渡されます
@param system_id システム識別子が文字列で渡されます...

絞り込み条件を変える

REXML::StreamListener#entitydecl(content) -> () (25.0)

DTDの実体宣言をパースしたときに呼び出されるコールバックメソッドです。

..."He said %YN;">
<!ENTITY open-hatch SYSTEM "http://www.textuality.com/boilerplate/OpenHatch.xml">
<!ENTITY open-hatch PUBLIC "-//Textuality//TEXT Standard open-hatch boilerplate//EN" "http://www.textuality.com/boilerplate/OpenHatch.xml">
<!ENTITY hatch-pic SYSTEM "../grafix/OpenHatch.gif" NDATA gif...
...said %YN;"]
# >> ["open-hatch", "SYSTEM", "http://www.textuality.com/boilerplate/OpenHatch.xml"]
# >> ["open-hatch", "PUBLIC", "-//Textuality//TEXT Standard open-hatch boilerplate//EN", "http://www.textuality.com/boilerplate/OpenHatch.xml"]
# >> ["hatch-pic", "SYSTEM", "../grafix/OpenHatch.gif", "gi...

REXML::DocType#public -> String | nil (19.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
//...
<< < 1 2 3 4 5 ... > >>