るりまサーチ (Ruby 3.1)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.188秒)
トップページ > クエリ:l[x] > クエリ:r[x] > クエリ:v[x] > バージョン:3.1[x] > クエリ:domain=[x]

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils rm_r
  5. fileutils chmod_r

ライブラリ

検索結果

WEBrick::Cookie#domain=(value) (54901.0)

ドメイン名を文字列で表すアクセサです。

ドメイン名を文字列で表すアクセサです。

@param value ドメイン名を表す文字列を指定します。

Resolv::DNS::Name#subdomain_of?(other) -> bool (27619.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...