59件ヒット
[1-59件を表示]
(0.017秒)
種類
- 特異メソッド (33)
- インスタンスメソッド (22)
- 文書 (4)
ライブラリ
- uri (55)
クラス
-
URI
:: Generic (11) -
URI
:: MailTo (44)
キーワード
-
NEWS for Ruby 3
. 0 . 0 (4) - build (22)
- component (11)
- headers= (11)
検索結果
先頭5件
-
URI
:: MailTo # headers -> [[String]] (29119.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 # headers=(s) (17131.0) -
自身のヘッダーを文字列で設定します。
...を文字列で設定します。
@param s ヘッダーを表す文字列を指定します。
@raise URI::InvalidComponentError 不正な引数 s に対して発生します。
例:
require 'uri'
m = URI.parse("mailto:nospam@example.com")
m.headers = URI.escape("subject=hello hello")... -
URI
:: MailTo . build(ary) -> URI :: MailTo (11158.0) -
引数で与えられた URI 構成要素から URI::MailTo オブジェクトを生成します。 引数の正当性をチェックします。
...引数で与えられた URI 構成要素から URI::MailTo オブジェクトを生成します。
引数の正当性をチェックします。
@param ary 構成要素を
[to, headers]
という文字列の配列で与えます。headers は、以下のような文字列か配列で
与え......subscribe&cc=addr"
[["subject", "subscribe"], ["cc", "addr"]]
@param hash 構成要素をハッシュで与えます。ハッシュのキーは :to, :headers です。ハッシュの値は ary と同様です。
@raise URI::InvalidComponentError 不正な引数に対して発生します。... -
URI
:: MailTo . build(hash) -> URI :: MailTo (11158.0) -
引数で与えられた URI 構成要素から URI::MailTo オブジェクトを生成します。 引数の正当性をチェックします。
...引数で与えられた URI 構成要素から URI::MailTo オブジェクトを生成します。
引数の正当性をチェックします。
@param ary 構成要素を
[to, headers]
という文字列の配列で与えます。headers は、以下のような文字列か配列で
与え......subscribe&cc=addr"
[["subject", "subscribe"], ["cc", "addr"]]
@param hash 構成要素をハッシュで与えます。ハッシュのキーは :to, :headers です。ハッシュの値は ary と同様です。
@raise URI::InvalidComponentError 不正な引数に対して発生します。... -
URI
:: Generic . component -> [Symbol] (11040.0) -
URI の構成要素を表すシンボルの配列を返します。
...
URI の構成要素を表すシンボルの配列を返します。
require 'uri'
p URI::Generic.component
p URI::MailTo.component
# => [:scheme, :userinfo, :host, :port, :registry, :path, :opaque, :query, :fragment]
# => [:scheme, :to, :headers]... -
NEWS for Ruby 3
. 0 . 0 (36.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...uto_compact= and GC.auto_compact have been added to control when compaction runs. Setting `auto_compact=` to `true` will cause compaction to occur during major collections. At the moment, compaction adds significant overhead to major collections, so please test first! 17176
* Hash
* Hash#tr......me verification. 16555
* Net::HTTP.get, Net::HTTP.get_response, and Net::HTTP.get_print can take the request headers as a Hash in the second argument when the first argument is a URI. 16686
* Net::SMTP
* Add SNI support.
* Net::SMTP.start arguments are keyword arguments.
* TLS sh......umerable#grep_v when passed a Regexp and no block no longer modify Regexp.last_match. 17030
* Requiring 'open-uri' no longer redefines `Kernel#open`. Call `URI.open` directly or `use URI#open` instead. 15893
* SortedSet has been removed for dependency and performance reasons.
== Stdlib compatib...