るりまサーチ

最速Rubyリファレンスマニュアル検索!
48件ヒット [1-48件を表示] (0.184秒)
トップページ > クエリ:-[x] > クエリ:r[x] > クエリ:d[x] > クエリ:get[x] > クエリ:code[x]

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils cp_r
  5. bigdecimal to_r

ライブラリ

クラス

モジュール

キーワード

検索結果

Net::HTTPResponse#code -> String (27413.0)

HTTP のリザルトコードです。例えば '302' などです。

...スオブジェクトがどのクラスのインスタンスかを
見ることでもレスポンスの種類を判別できます。

//emlist[例][ruby]{
r
equire 'net/http'

uri = "http://www.example.com/index.html"
r
esponse = Net::HTTP.get_response(URI.parse(uri))
r
esponse.code # => "200"
//}...

drb (12030.0)

分散オブジェクトプログラミングのためのライブラリです。

...です。

R
uby のプロセスから他のRubyプロセスにあるオブジェクトのメソッド
を呼びだすことができます。他のマシン上のプロセスにも
アクセスできます。

=== 概要
d
Ruby は Ruby 専用の分散オブジェクトシステムです。
R
uby の...
...険 !!
r
o = DRbObject.new_with_uri("druby://your.server.com:8989")
class << ro
# リモートオブジェクトの instance_eval を呼ぶため
# ローカルオブジェクトの instance_eval を取り除く
undef :instance_eval
end
r
o.instance_eval("DANGEROUS RUBY CODE!")...
...と併用すべきです。

=== リファレンス
* http://www2a.biglobe.ne.jp/~seki/ruby/druby.html
* http://www.ruby-doc.org/stdlib/libdoc/drb/rdoc/index.html

=== Example
単純なクライアント-サーバシステムの例。

ターミナルを2つサーバ側/クライアント側と...

CGI::HtmlExtension#form(method = "post", action = nil, enctype = "application/x-www-form-urlencoded") -> String (6608.0)

form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。

...form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。

@param method method 属性の値として "get" か "post" を指定します。

@param action action 属性の値を指定します。デフォルトは現在の CGI ス...
...す。

@param enctype enctype 属性の値を指定します。デフォルトは "application/x-www-form-urlencoded" です。

例:
form{ "string" }
# <FORM METHOD="post" ENCTYPE="application/x-www-form-urlencoded">string</FORM>

form("get"){ "string" }
# <FORM METHOD="get" ENCTYPE="a...
...pplication/x-www-form-urlencoded">string</FORM>

form("get", "url"){ "string" }
# <FORM METHOD="get" ACTION="url" ENCTYPE="application/x-www-form-urlencoded">string</FORM>...

CGI::HtmlExtension#form(method = "post", action = nil, enctype = "application/x-www-form-urlencoded") { ... } -> String (6608.0)

form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。

...form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。

@param method method 属性の値として "get" か "post" を指定します。

@param action action 属性の値を指定します。デフォルトは現在の CGI ス...
...す。

@param enctype enctype 属性の値を指定します。デフォルトは "application/x-www-form-urlencoded" です。

例:
form{ "string" }
# <FORM METHOD="post" ENCTYPE="application/x-www-form-urlencoded">string</FORM>

form("get"){ "string" }
# <FORM METHOD="get" ENCTYPE="a...
...pplication/x-www-form-urlencoded">string</FORM>

form("get", "url"){ "string" }
# <FORM METHOD="get" ACTION="url" ENCTYPE="application/x-www-form-urlencoded">string</FORM>...

NEWS for Ruby 3.0.0 (3390.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...NEWS for Ruby 3.0.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス...
...様の変更

* Keyword arguments are now separated from positional arguments.
Code
that resulted in deprecation warnings in Ruby 2.7 will now
r
esult in ArgumentError or different behavior. 14183
* Procs accepting a single rest argument and keywords are no longer
subject to autosplat...
...] # and deprecation warning
# 3.0 => a=>1}, {}]
//}

* Arguments forwarding (`...`) now supports leading arguments.
16378

//emlist{
d
ef method_missing(meth, ...)
send(:"do_#{meth}", ...)
end
//}

* Pattern matching (`case/in`) is no longer experimental. 17260
* One-line pattern matc...

絞り込み条件を変える