2件ヒット
[1-2件を表示]
(0.024秒)
クラス
-
URI
:: Generic (1) -
URI
:: LDAP (1)
キーワード
- attributes (1)
- path (1)
検索結果
-
URI
:: Generic # path -> String | nil (18613.0) -
自身の path を文字列で返します。設定されていない場合は nil を返します。
...します。
require 'uri'
p URI.parse('http://example.com/hoge').path #=> "/hoge"
p URI.parse('http://example.com').path #=> ""
p URI.parse('mailto:nospam@localhost').path #=> nil
p URI('ftp://example.com/foo').path #=> 'foo'
p URI('ftp://example.com/%2Ffoo').... -
URI
:: LDAP # attributes -> String (18613.0) -
自身の Attribute を文字列で返します。
自身の Attribute を文字列で返します。