26件ヒット
[1-26件を表示]
(0.133秒)
検索結果
先頭3件
-
Resolv
:: DNS :: Resource :: IN :: WKS # bitmap -> String (30301.0) -
そのホストで利用可能なサービスのビットマップを返します。
...トマップを返します。
例えば Resolv::DNS::Resource::IN::WKS#protocol が 6 (TCP)
の場合、26番目のビットはポート25のサービス(SMTP)に対応しています。
このビットが立っているならば SMTP は利用可能であり、
そうでなければ利用でき... -
Resolv
:: DNS :: Resource :: IN :: WKS . new(address , protocol , bitmap) -> Resolv :: DNS :: Resource :: IN :: WKS (3307.0) -
Resolv::DNS::Resource::IN::WKS のインスタンスを生成します。
...Resolv::DNS::Resource::IN::WKS のインスタンスを生成します。
@param address IPv4アドレス
@param protocol IPプロトコル番号
@param bitmap ビットマップ... -
NEWS for Ruby 3
. 0 . 0 (54.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...separated from positional arguments.
Code that resulted in deprecation warnings in Ruby 2.7 will now
result in ArgumentError or different behavior. 14183
* Procs accepting a single rest argument and keywords are no longer
subject to autosplatting. This now matches the behavior of Pro......cepting a single rest argument and no keywords.
16166
//emlist[][ruby]{
pr = proc{|*a, **kw| [a, kw]}
pr.call([1])
# 2.7 => [[1], {}]
# 3.0 => [[[1]], {}]
pr.call([1, {a: 1}])
# 2.7 => [[1], {:a=>1}] # and deprecation warning
# 3.0 => a=>1}, {}]
//}
* Arguments forwarding (`...`) now suppo......split. https://github.com/ruby/ruby/pull/2991 This should have no impact on extension libraries, but users might experience slow compilations.
* Memory view interface [EXPERIMENTAL]
* The memory view interface is a C-API set to exchange a raw memory area, such as a numeric array or a bitmap im...