るりまサーチ

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

別のキーワード

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

モジュール

キーワード

検索結果

<< < 1 2 3 4 ... > >>

URI::Generic#to_s -> String (11130.0)

自身が表す URI を文字列として返します。

...自身が表す URI を文字列として返します。

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

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

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

...列で返します。設定されていない場合は 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 #=> "ietf:rfc:1149"...

URI::Generic#select(*components) -> [String] (11126.0)

指定された components に対応する構成要素を文字列の配列として返します。

...字列の配列として返します。

@param components 構成要素名をシンボルで指定します。

例:
require 'uri'

uri
= URI.parse('http://myuser:mypass@my.example.com/test.rbx')
p uri.select(:userinfo, :host, :path)
# => ["myuser:mypass", "my.example.com", "/test.rbx"]...

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

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

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

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

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

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

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

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

絞り込み条件を変える

URI::MailTo#headers -> [[String]] (11114.0)

自身のヘッダーを文字列の配列の配列として設定します。

...自身のヘッダーを文字列の配列の配列として設定します。

例:
require 'uri'
m = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
p m.headers #=> [["subject", "subscribe"], ["cc", "myaddr"]]...

URI::MailTo#to -> String (11114.0)

自身の e-mail アドレスを文字列で返します。

...自身の e-mail アドレスを文字列で返します。

例:
require 'uri'
p URI.parse("mailto:nospam@example.com").to #=> "nospam@example.com"...

URI::Generic#host -> String | nil (11108.0)

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

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

@see URI::Generic#hostname...

URI::FTP#typecode -> String | nil (11102.0)

ファイル転送のタイプを文字列で返します。"a" はテキスト、"i" はバイナリ、"d" はディレクトリを表します。 設定されていない場合は nil を返します。

ファイル転送のタイプを文字列で返します。"a" はテキスト、"i" はバイナリ、"d" はディレクトリを表します。
設定されていない場合は nil を返します。

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

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

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

絞り込み条件を変える

<< < 1 2 3 4 ... > >>