るりまサーチ (Ruby 3.2)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.029秒)
トップページ > クエリ:-[x] > クエリ:|[x] > クエリ:at[x] > ライブラリ:open-uri[x] > バージョン:3.2[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

モジュール

検索結果

OpenURI::Meta#status -> [String] (18643.0)

対象となるリソースのステータスコードと reason phrase を文字列の配列として返します。

...対象となるリソースのステータスコードと reason phrase を文字列の配列として返します。

//emlist[例][ruby]{
require 'open-uri'
URI.open('http://example.com/') {|f|
p f.status #=> ["200", "OK"]
}
//}...