19件ヒット
[1-19件を表示]
(0.016秒)
検索結果
-
OpenURI
:: Meta # status -> [String] (21107.0) -
対象となるリソースのステータスコードと reason phrase を文字列の配列として返します。
...対象となるリソースのステータスコードと reason phrase を文字列の配列として返します。
//emlist[例][ruby]{
require 'open-uri'
open('http://example.com/') {|f|
p f.status #=> ["200", "OK"]
}
//}......対象となるリソースのステータスコードと reason phrase を文字列の配列として返します。
//emlist[例][ruby]{
require 'open-uri'
URI.open('http://example.com/') {|f|
p f.status #=> ["200", "OK"]
}
//}... -
NEWS for Ruby 2
. 4 . 0 (12.0) -
NEWS for Ruby 2.4.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...引数を受け付けるようになりました。12548 12958
half には :even, :up, :down が指定可能です。12953
* Regexp
* meta character \X matches Unicode 9.0 characters with some workarounds
for UTR #51 Unicode Emoji, Version 4.0 emoji zwj sequences.
* Regexp#mat......追加 12375
* net/ftp
* TLSをサポート 4217
* Net::FTP.new の引数をキーワード引数に対応しました
* Net::FTP#status に省略可能なキーワード引数 pathname を追加
solebox による貢献。https://github.com/ruby/ruby/pull/1478 12965
* openssl...