エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Module: OpenURI (Ruby 2.1.1)
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Module: OpenURI (Ruby 2.1.1)
OpenURI is an easy-to-use wrapper for Net::HTTP, Net::HTTPS and Net::FTP. Example¶ ↑ It is possib... OpenURI is an easy-to-use wrapper for Net::HTTP, Net::HTTPS and Net::FTP. Example¶ ↑ It is possible to open an http, https or ftp URL as though it were a file: open("http://www.ruby-lang.org/") {|f| f.each_line {|line| p line} } The opened file has several getter methods for its meta-information, as follows, since it is extended by OpenURI::Meta. open("http://www.ruby-lang.org/en") {|f| f.each_lin

