18件ヒット
[1-18件を表示]
(0.025秒)
検索結果
-
URI
:: Generic # coerce(oth) -> [URI , URI] (21351.0) -
引数 oth をパースして [パース後の oth, self] の配列を返します。
...] の配列を返します。
@param oth URI オブジェクトか文字列を指定します。
例:
require 'uri'
uri = URI.parse("http://my.example.com")
uri.coerce("http://foo.com")
# => [#<URI::HTTP:0x00000000bcb028 URL:http://foo.com/>, #<URI::HTTP:0x00000000d92178 URL:http://my.ex... -
NEWS for Ruby 2
. 5 . 0 (48.0) -
NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...い引数が与えられたときcoerce内部で発生したエラーを隠蔽しないようになりました。
7688
* 数値の比較メソッド(<,<=,>=,>)は、coerceメソッドで発生した例外を隠蔽しなくなりました。
coerceがnilを返す場合、変換は不......テムの環境変数がマルチユーザーセーフである場合のみ。12921
* open-uri
* URI.open を open-uri の Kernel.open の別名として追加しました。
将来 open-uri の Kernel.open は非推奨になります。
* openssl
* Ruby/OpenSSLのバージョン......受け取れるようになりました
* strscan
* StringScanner#size, StringScanner#captures, StringScanner#values_at を追加 836
* uri
* Relative path operations no longer collapse consecutive slashes to a single slash. 8352
* webrick
* Server Name Indication (SNI) サポ...