種類
- インスタンスメソッド (24)
- 定数 (17)
- 特異メソッド (5)
- 関数 (3)
- クラス (2)
ライブラリ
- ビルトイン (6)
- openssl (1)
- shell (1)
-
shell
/ command-processor (1) -
shell
/ filter (1) -
shell
/ system-command (17) - socket (19)
- win32ole (1)
- zlib (1)
クラス
- Addrinfo (5)
- Shell (1)
-
Shell
:: CommandProcessor (1) -
Shell
:: Filter (1) -
Shell
:: SystemCommand (16) - Socket (7)
- SystemCallError (5)
- WIN32OLE (1)
モジュール
-
OpenSSL
:: OCSP (1) -
Socket
:: Constants (7) - Zlib (1)
キーワード
- === (1)
-
CP
_ OEMCP (1) -
MCAST
_ BLOCK _ SOURCE (2) -
MCAST
_ EXCLUDE (2) -
MCAST
_ INCLUDE (2) -
MCAST
_ LEAVE _ GROUP (2) -
MCAST
_ LEAVE _ SOURCE _ GROUP (2) -
MCAST
_ MSFILTER (2) -
MCAST
_ UNBLOCK _ SOURCE (2) -
OS
_ VMCMS (1) -
REVOKED
_ STATUS _ REMOVEFROMCRL (1) - SystemCallError (1)
- SystemCommand (1)
- active? (1)
- bmcall (1)
- command (1)
- each (1)
- errno (1)
- flush (1)
- input= (1)
-
ipv6
_ mc _ global? (1) -
ipv6
_ mc _ linklocal? (1) -
ipv6
_ mc _ nodelocal? (1) -
ipv6
_ mc _ orglocal? (1) -
ipv6
_ mc _ sitelocal? (1) - kill (1)
- name (1)
- new (4)
- notify (2)
- numcmp (1)
- start (1)
-
start
_ export (1) -
start
_ import (1) -
super
_ each (1) - system (3)
- terminate (1)
- umcall (1)
- wait? (1)
検索結果
先頭5件
-
static VALUE bmcall(VALUE args
, VALUE method) (37201.0) -
-
static VALUE umcall(VALUE args
, VALUE method) (37201.0) -
-
Addrinfo
# ipv6 _ mc _ global? -> bool (36604.0) -
IPv6 のマルチキャスト(グローバルスコープ) アドレスであれば真を返します。
IPv6 のマルチキャスト(グローバルスコープ)
アドレスであれば真を返します。 -
Addrinfo
# ipv6 _ mc _ linklocal? -> bool (36604.0) -
IPv6 のマルチキャスト(リンクローカルスコープ)アドレスであれば真を返します。
IPv6 のマルチキャスト(リンクローカルスコープ)アドレスであれば真を返します。 -
Addrinfo
# ipv6 _ mc _ nodelocal? -> bool (36604.0) -
IPv6 のマルチキャスト(ノードローカルスコープ)アドレスであれば真を返します。
IPv6 のマルチキャスト(ノードローカルスコープ)アドレスであれば真を返します。 -
Addrinfo
# ipv6 _ mc _ orglocal? -> bool (36604.0) -
IPv6 のマルチキャスト(組織(organization)ローカルスコープ) アドレスであれば真を返します。
IPv6 のマルチキャスト(組織(organization)ローカルスコープ)
アドレスであれば真を返します。 -
Addrinfo
# ipv6 _ mc _ sitelocal? -> bool (36604.0) -
IPv6 のマルチキャスト(サイトローカルスコープ)アドレスであれば真を返します。
IPv6 のマルチキャスト(サイトローカルスコープ)アドレスであれば真を返します。 -
OpenSSL
:: OCSP :: REVOKED _ STATUS _ REMOVEFROMCRL -> Integer (36601.0) -
OpenSSL::OCSP::BasicResponse#status の失効理由コードで、 CRL からの削除を意味します。
OpenSSL::OCSP::BasicResponse#status の失効理由コードで、
CRL からの削除を意味します。
詳しくは 3280 や X.509 を参照してください。 -
Socket
:: Constants :: MCAST _ BLOCK _ SOURCE -> Integer (36601.0) -
Block multicast packets from this source
Block multicast packets from this source
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: Constants :: MCAST _ EXCLUDE -> Integer (36601.0) -
Exclusive multicast source filter
Exclusive multicast source filter
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: Constants :: MCAST _ INCLUDE -> Integer (36601.0) -
Inclusive multicast source filter
Inclusive multicast source filter
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: Constants :: MCAST _ LEAVE _ GROUP -> Integer (36601.0) -
Leave a multicast group
Leave a multicast group
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: Constants :: MCAST _ LEAVE _ SOURCE _ GROUP -> Integer (36601.0) -
Leave a multicast source group
Leave a multicast source group
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: Constants :: MCAST _ MSFILTER -> Integer (36601.0) -
@todo Multicast source filtering
@todo
Multicast source filtering
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: Constants :: MCAST _ UNBLOCK _ SOURCE -> Integer (36601.0) -
Unblock multicast packets from this source
Unblock multicast packets from this source
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: MCAST _ BLOCK _ SOURCE -> Integer (36601.0) -
Block multicast packets from this source
Block multicast packets from this source
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: MCAST _ EXCLUDE -> Integer (36601.0) -
Exclusive multicast source filter
Exclusive multicast source filter
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: MCAST _ INCLUDE -> Integer (36601.0) -
Inclusive multicast source filter
Inclusive multicast source filter
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: MCAST _ LEAVE _ GROUP -> Integer (36601.0) -
Leave a multicast group
Leave a multicast group
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: MCAST _ LEAVE _ SOURCE _ GROUP -> Integer (36601.0) -
Leave a multicast source group
Leave a multicast source group
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: MCAST _ MSFILTER -> Integer (36601.0) -
@todo Multicast source filtering
@todo
Multicast source filtering
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: MCAST _ UNBLOCK _ SOURCE -> Integer (36601.0) -
Unblock multicast packets from this source
Unblock multicast packets from this source
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Shell
:: SystemCommand # kill(signal) -> Integer (36301.0) -
自身のプロセスにシグナルを送ります。
自身のプロセスにシグナルを送ります。
@param signal シグナルを整数かその名前の文字列で指定します。
負の値を持つシグナル(あるいはシグナル名の前に-)を指定すると、
プロセスではなくプロセスグループにシグナルを送ります。
@see Process.#kill -
SystemCallError (36001.0)
-
Ruby の実装に用いられているシステムコールまたは一部の C 言語関数が失敗した時に発生する例外です。 システムコールの失敗した原因を表すエラーコードを保持します。
Ruby の実装に用いられているシステムコールまたは一部の C 言語関数が失敗した時に発生する例外です。
システムコールの失敗した原因を表すエラーコードを保持します。
多くの場合、実際には SystemCallError そのものではなく
サブクラスである Errno::EXXX (XXX はエラーコードの値によって異なる。
システム定義のエラー名と同じ名前) が発生します。
詳しくは Errno::EXXX を参照してください。 -
Shell
:: SystemCommand # flush -> () (27301.0) -
@todo
@todo -
WIN32OLE
:: CP _ OEMCP -> Integer (27301.0) -
OEMコードページ(1)を示します。
OEMコードページ(1)を示します。 -
Zlib
:: OS _ VMCMS -> Integer (27301.0) -
OS の種類を表す定数です。
OS の種類を表す定数です。 -
Shell
:: SystemCommand (27001.0) -
-
static int numcmp(long x
, long y) (18901.0) -
int用の比較関数。
int用の比較関数。 -
SystemCallError
. new(errno) -> SystemCallError (18601.0) -
整数 errno に対応する Errno::EXXX オブジェクトを生成して返します。
整数 errno に対応する Errno::EXXX オブジェクトを生成して返します。
整数 errno をシステムコールで発生したエラーの原因を示すコードであると解釈し、
対応する例外クラスのインスタンスを生成して返します。
生成されるオブジェクトは SystemCallError の直接のインスタンスではなく、サブクラスのインスタンスです。
それらのサブクラスは Errno モジュール内に定義されています。
対応するサブクラスが存在しないコードを与えた場合には、 SystemCallError の直接のインスタンスが生成されます。
エラーコードの取り得る値および意味はシステムに依存し... -
SystemCallError
. new(error _ message) -> SystemCallError (18601.0) -
SystemCallError オブジェクトを生成して返します。
SystemCallError オブジェクトを生成して返します。
@param error_message エラーメッセージを表す文字列
例:
p SystemCallError.new("message")
# => #<SystemCallError: unknown error - message> -
SystemCallError
. new(error _ message , errno) -> SystemCallError (18601.0) -
整数 errno に対応する Errno::EXXX オブジェクトを生成して返します。
整数 errno に対応する Errno::EXXX オブジェクトを生成して返します。
整数 errno をシステムコールで発生したエラーの原因を示すコードであると解釈し、
対応する例外クラスのインスタンスを生成して返します。
生成されるオブジェクトは SystemCallError の直接のインスタンスではなく、サブクラスのインスタンスです。
それらのサブクラスは Errno モジュール内に定義されています。
対応するサブクラスが存在しないコードを与えた場合には、 SystemCallError の直接のインスタンスが生成されます。
エラーコードの取り得る値および意味はシステムに依存し... -
Shell
:: SystemCommand # active? -> bool (18301.0) -
@todo
@todo -
Shell
:: SystemCommand # each(rs = nil) {|line| . . . } (18301.0) -
@todo
@todo
@param rs -
Shell
:: SystemCommand # wait? -> bool (18301.0) -
@todo
@todo -
SystemCallError
# errno -> Integer | nil (18301.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.e... -
SystemCallError
. ===(other) -> bool (18301.0) -
other が SystemCallError のサブクラスのインスタンスで、 かつ、other.errno の値が self::Errno と同じ場合に真を返します。そうでない場合は偽を返します。
other が SystemCallError のサブクラスのインスタンスで、
かつ、other.errno の値が self::Errno と同じ場合に真を返します。そうでない場合は偽を返します。
従って、特に other が self.kind_of?(other) である場合には Module#=== と同様に真を返します。
その他に、 Errno::EXXX::Errno == Errno::EYYY::Errno である場合にも Errno::EXXX == Errno::EYYY.new は真を返します。
エラー名は異なるがエラーコードは同じであるような Errno::EXX... -
Shell
:: SystemCommand # command -> String (18001.0) -
@todo
@todo
コマンド名を返します。 -
Shell
:: SystemCommand # input=(inp) (18001.0) -
@todo
@todo -
Shell
:: SystemCommand # name -> String (18001.0) -
@todo
@todo
コマンド名を返します。 -
Shell
:: SystemCommand # notify(*opts) -> String (18001.0) -
@todo
@todo
@param opts
@see Shell#notify -
Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String (18001.0) -
@todo
@todo
@param opts
@see Shell#notify -
Shell
:: SystemCommand # start -> () (18001.0) -
@todo
@todo -
Shell
:: SystemCommand # start _ export (18001.0) -
@todo
@todo -
Shell
:: SystemCommand # start _ import -> () (18001.0) -
@todo
@todo -
Shell
:: SystemCommand # super _ each -> () (18001.0) -
@todo
@todo
Shell::Filter#each です。 -
Shell
:: SystemCommand # terminate -> () (18001.0) -
@todo
@todo -
Shell
:: SystemCommand . new(sh , command , *opts) (18001.0) -
@todo
@todo
@param sh
@param command
@param opts -
Shell
# system(command , *opts) -> Shell :: SystemCommand (9637.0) -
command を実行する.
command を実行する.
@param command 実行するコマンドのパスを文字列で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT -
Shell
:: CommandProcessor # system(command , *opts) -> Shell :: SystemCommand (9637.0) -
command を実行する.
command を実行する.
@param command 実行するコマンドのパスを文字列で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT -
Shell
:: Filter # system(command , *opts) -> Shell :: SystemCommand (9637.0) -
command を実行する.
command を実行する.
@param command 実行するコマンドのパスを文字列で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT