るりまサーチ

最速Rubyリファレンスマニュアル検索!
192件ヒット [1-100件を表示] (0.134秒)
トップページ > クエリ:r[x] > 種類:インスタンスメソッド[x] > クエリ:string[x] > クラス:URI::Generic[x]

別のキーワード

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

ライブラリ

キーワード

検索結果

<< 1 2 > >>

URI::Generic#userinfo -> String | nil (12303.0)

自身の userinfo を "username:password" という形式の文字列で返します。 設定されていない場合は nil を返します。

...自身の userinfo を "username:password" という形式の文字列で返します。
設定されていない場合は nil を返します。...

URI::Generic#fragment -> String | nil (9203.0)

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

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

例:
r
equire 'uri'
u = URI.parse('http://example.com/#frgmt')
p u.fragment #=> "frgmt"...

URI::Generic#normalize! -> String | nil (9203.0)

URI オブジェクトを正規化して返します。ホスト名を小文字にし、パスと 構成要素がなければ '/' をセットします。

...URI オブジェクトを正規化して返します。ホスト名を小文字にし、パスと
構成要素がなければ '/' をセットします。

例:
r
equire 'uri'
u = URI.parse('http://Example.Com')
p u.to_s #=> "http://Example.Com"
p u.normalize.to_s...

URI::Generic#password -> String | nil (9203.0)

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

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

URI::Generic#port -> String | nil (9203.0)

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

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

絞り込み条件を変える

URI::Generic#query -> String | nil (9203.0)

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

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

例:
r
equire 'uri'
p URI.parse('http://example.com/?hoge').query #=> "hoge"...

URI::Generic#registry -> String | nil (9203.0)

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

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

URI::Generic#user -> String | nil (9203.0)

自身の userinfo を文字列で返します。

...自身の userinfo を文字列で返します。

userinfo が「username:password」の形式である場合は、username 部を返します。
設定されていない場合は nil を返します。...

URI::Generic#normalize -> URI::Generic (9103.0)

URI オブジェクトを正規化して返します。ホスト名を小文字にし、パスと 構成要素がなければ '/' をセットします。

...URI オブジェクトを正規化して返します。ホスト名を小文字にし、パスと
構成要素がなければ '/' をセットします。

例:
r
equire 'uri'
u = URI.parse('http://Example.Com')
p u.to_s #=> "http://Example.Com"
p u.normalize.to_s...
<< 1 2 > >>