クラス
- Array (19)
- BasicObject (11)
- CSV (44)
-
Fiddle
:: Handle (11) - Hash (66)
-
Process
:: Status (22) -
Shell
:: Filter (6) - Socket (33)
- String (22)
モジュール
- Enumerable (44)
- Kernel (22)
-
Socket
:: Constants (33)
キーワード
-
$ CHILD _ STATUS (11) - & (11)
- == (11)
-
IPPROTO
_ ICMP (22) -
IPPROTO
_ IP (22) -
IPPROTO
_ IPV6 (22) -
NEWS for Ruby 3
. 0 . 0 (4) - caller (11)
-
delete
_ if (22) - hex (11)
-
max
_ by (44) -
method
_ missing (11) - open (44)
- pack (19)
- pack テンプレート文字列 (11)
-
rb
_ to _ integer (11) - reject (22)
- reject! (22)
- unpack (11)
- | (6)
検索結果
先頭5件
-
Fiddle
:: Handle # to _ i -> Integer (27202.0) -
自身が表すハンドル(dlopen(3) が返したもの)のアドレスを返します。
自身が表すハンドル(dlopen(3) が返したもの)のアドレスを返します。 -
Socket
:: Constants :: IPPROTO _ IP -> Integer (18306.0) -
Internet protocol。 BasicSocket#getsockopt, BasicSocket#setsockopt の level 引数に使用します。
...Internet protocol。
BasicSocket#getsockopt, BasicSocket#setsockopt の
level 引数に使用します。
また、Socket.open の protocol 引数に渡す利用法もあります。
@see netinet/in.h(header)
ip(4freebsd), ip(7linux)... -
Socket
:: Constants :: IPPROTO _ IPV6 -> Integer (18306.0) -
Internet Protocol Version 6。 BasicSocket#getsockopt, BasicSocket#setsockopt の level 引数に使用します。
...Internet Protocol Version 6。
BasicSocket#getsockopt, BasicSocket#setsockopt の
level 引数に使用します。
また、Socket.open の protocol 引数に渡す利用法もあります。
@see netinet/in.h(header)
ip6(4freebsd), ipv6(7linux)
2292... -
Socket
:: IPPROTO _ IP -> Integer (18306.0) -
Internet protocol。 BasicSocket#getsockopt, BasicSocket#setsockopt の level 引数に使用します。
...Internet protocol。
BasicSocket#getsockopt, BasicSocket#setsockopt の
level 引数に使用します。
また、Socket.open の protocol 引数に渡す利用法もあります。
@see netinet/in.h(header)
ip(4freebsd), ip(7linux)... -
Socket
:: IPPROTO _ IPV6 -> Integer (18306.0) -
Internet Protocol Version 6。 BasicSocket#getsockopt, BasicSocket#setsockopt の level 引数に使用します。
...Internet Protocol Version 6。
BasicSocket#getsockopt, BasicSocket#setsockopt の
level 引数に使用します。
また、Socket.open の protocol 引数に渡す利用法もあります。
@see netinet/in.h(header)
ip6(4freebsd), ipv6(7linux)
2292... -
Kernel
$ $ CHILD _ STATUS -> Process :: Status | nil (12312.0) -
$? の別名
...$? の別名
require "English"
out = `wget https://www.ruby-lang.org/en/about/license.txt -O - 2>/dev/null`
if $CHILD_STATUS.to_i == 0
print "wget success\n"
out.split(/\n/).each { |line|
printf "%s\n", line
}
else
print "wget failed\n"
end... -
static VALUE rb
_ to _ integer(VALUE val , char *method) (12300.0) -
-
BasicObject
# method _ missing(name , *args) -> object (12212.0) -
呼びだされたメソッドが定義されていなかった時、Rubyインタプリタがこのメソッド を呼び出します。
...トではこのメソッドは例外 NoMethodError を発生させます。
@param name 未定義メソッドの名前(シンボル)です。
@param args 未定義メソッドに渡された引数です。
@return ユーザー定義の method_missing メソッドの返り値が未定義メソ....../emlist[例][ruby]{
class Foo
def initialize(data)
@data = data
end
def method_missing(name, lang)
if name.to_s =~ /\Afind_(\d+)_in\z/
if @data[lang]
p @data[lang][$1.to_i]
else
raise "#{lang} unknown"
end
else
super
end
end
end
dic =......glish => %w(zero one two), :Esperanto => %w(nulo unu du)})
dic.find_2_in :Esperanto #=> "du"
//}
[注意] このメソッドを override する場合は対象のメソッド名に対して
Object#respond_to? が真を返すようにしてください。
そのためには、Object#respond_to_missin... -
Socket
:: Constants :: IPPROTO _ ICMP -> Integer (12206.0) -
Control message protocol。 BasicSocket#getsockopt, BasicSocket#setsockopt の level 引数に使用します。
...Control message protocol。
BasicSocket#getsockopt, BasicSocket#setsockopt の
level 引数に使用します。
また、Socket.open の protocol 引数に渡す利用法もあります。
@see netinet/in.h(header)
icmp(4freebsd), icmp(7linux)... -
Socket
:: IPPROTO _ ICMP -> Integer (12206.0) -
Control message protocol。 BasicSocket#getsockopt, BasicSocket#setsockopt の level 引数に使用します。
...Control message protocol。
BasicSocket#getsockopt, BasicSocket#setsockopt の
level 引数に使用します。
また、Socket.open の protocol 引数に渡す利用法もあります。
@see netinet/in.h(header)
icmp(4freebsd), icmp(7linux)...