るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.092秒)
トップページ > クエリ:String[x] > バージョン:2.4.0[x] > クエリ:h[x] > クエリ:server_name[x]

別のキーワード

  1. _builtin to_h
  2. struct to_h
  3. array to_h
  4. hash to_h
  5. openstruct to_h

検索結果

WEBrick::HTTPRequest#server_name -> String (63607.0)

サーバの名前を返します。

サーバの名前を返します。

cgi (235.0)

CGI プログラムの支援ライブラリです。

CGI プログラムの支援ライブラリです。

CGI プロトコルの詳細については以下の文書を参照してください。

* https://tools.ietf.org/html/draft-coar-cgi-v11-03
* 3875: The Common Gateway Interface (CGI) Version 1.1
* https://www.w3.org/CGI/

=== 使用例

==== フォームフィールドの値を得る

//emlist[][ruby]{
require "cgi"
cgi = CGI.new
values = cgi['field_name'] ...