るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. net/http get
  2. http get
  3. http start
  4. net/http start
  5. net/http delete

ライブラリ

クラス

検索結果

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

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

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

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