るりまサーチ (Ruby 2.4.0)

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

別のキーワード

  1. _builtin sub
  2. pathname sub
  3. string sub
  4. string sub!
  5. _builtin sub!

ライブラリ

検索結果

Win32::Registry#create(subkey, desired = KEY_ALL_ACCESS, opt = REG_OPTION_RESERVED) (54625.0)

@todo

@todo

Win32::Registry.create(self, subkey, desired, opt) と同じです。

Resolv::DNS::Name#subdomain_of?(other) -> bool (18430.0)

other が self のサブドメインであるかどうかを返します。

other が self のサブドメインであるかどうかを返します。

//emlist[][ruby]{
require "resolv"
domain = Resolv::DNS::Name.create("y.z")
p Resolv::DNS::Name.create("w.x.y.z").subdomain_of?(domain) #=> true
p Resolv::DNS::Name.create("x.y.z").subdomain_of?(domain) #=> true
p Resolv::DNS::Name.create("y.z").subdomain_of?(domai...