るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.059秒)
トップページ > クエリ:String[x] > クエリ:opaque[x] > 種類:インスタンスメソッド[x]

別のキーワード

  1. string []=
  2. string slice
  3. string slice!
  4. string []
  5. string gsub

ライブラリ

クラス

検索結果

URI::Generic#opaque -> String | nil (18237.0)

自身の opaque を文字列で返します。設定されていない場合は nil を返します。

...身の opaque を文字列で返します。設定されていない場合は nil を返します。

例:
require 'uri'
p URI.parse('http://example.com/').opaque #=> nil
p URI.parse('mailto:nospam@localhost').opaque #=> "nospam@localhost"
p URI.parse('urn:ietf:rfc:1149').opaque...