るりまサーチ

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

別のキーワード

  1. net/http get
  2. http start
  3. http get
  4. net/http start
  5. net/http patch

検索結果

Random (38006.0)

MT19937に基づく擬似乱数生成器を提供するクラスです。

...MT19937に基づく擬似乱数生成器を提供するクラスです。

=== 参考
オリジナル版 http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/mt.html...

SecureRandom (6046.0)

安全な乱数発生器のためのインターフェースを提供するモジュールです。 HTTP のセッションキーなどに適しています。

...です。
HTTP
のセッションキーなどに適しています。

以下の乱数発生器をサポートしています。

* openssl
* /dev/urandom

上の安全な乱数発生器が使用できない場合、各メソッドは NotImplementedError を発生します。

# random hexadec...
...ecurerandom'
p SecureRandom.hex(10) #=> "52750b30ffbc7de3b362"
p SecureRandom.hex(10) #=> "92b15d6c8dc4beb5f559"
p SecureRandom.hex(11) #=> "6aca1b5c58e4863e6b81b8"
p SecureRandom.hex(12) #=> "94b2fff3e7fd9b9c391a2306"
p SecureRandom.hex(13) #=> "39b290146bea6ce975c37cfc23"

# random bas...
...ire 'securerandom'
p SecureRandom.base64(10) #=> "EcmTPZwWRAozdA=="
p SecureRandom.base64(10) #=> "9b0nsevdwNuM/w=="
p SecureRandom.base64(10) #=> "KO1nIU+p9DKxGg=="
p SecureRandom.base64(11) #=> "l7XEiFja+8EKEtY="
p SecureRandom.base64(12) #=> "7kJSM/MzBJI+75j8"
p SecureRandom.base64(13...

securerandom (6016.0)

安全な乱数発生器のためのインターフェースを提供するライブラリです。 HTTP のセッションキーなどに適しています。

...安全な乱数発生器のためのインターフェースを提供するライブラリです。
HTTP
のセッションキーなどに適しています。...

NEWS for Ruby 2.5.0 (90.0)

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

...* Regexp
* Onigmo 6.1.3-669ac9997619954c298da971fcfacccf36909d05 に更新
* 非包含オペレータ(absence operator)をサポート https://github.com/k-takata/Onigmo/issues/82
* Support new 5 emoji-related Unicode character properties

* RubyVM::InstructionSequence
* Ru...
...追加

* net/http
* Net::HTTP.new が no_proxy パラメータをサポートしました 11195
* Net::HTTP#min_version Net::HTTP#max_version を追加 9450
* HTTP status を表すクラスをいくつか追加しました
* Net::HTTP::STATUS_CODES を追加。HTTPのステータ...
...* https://blog.rubygems.org/2017/11/03/2.7.1-released.html
* https://blog.rubygems.org/2017/11/01/2.7.0-released.html
* https://blog.rubygems.org/2017/10/09/2.6.14-released.html
* https://blog.rubygems.org/2017/08/27/2.6.13-released.html

* securerandom
* SecureRandom.alp...

NEWS for Ruby 3.0.0 (90.0)

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

...* Random
* `Random::DEFAULT` now refers to the `Random` class instead of being a `Random` instance, so it can work with `Ractor`. 17322
* `Random::DEFAULT` is deprecated since its value is now confusing and it is no longer global, use `Kernel.rand`/`Random.rand` directly, or create a `Random...
...` instance with `Random.new` instead. 17351
* String
* The following methods now return or yield String instances instead of subclass instances when called on subclass instances: 10845
* String#*
* String#capitalize
* String#center
* String#chomp
* String#chop...
...* Add :connect_timeout to TCPSocket.new 17187
* Net::HTTP
* Net::HTTP#verify_hostname= and Net::HTTP#verify_hostname have been added to skip hostname verification. 16555
* Net::HTTP.get, Net::HTTP.get_response, and Net::HTTP.get_print can take the request headers as a Hash in the sec...

絞り込み条件を変える

NEWS for Ruby 2.0.0 (72.0)

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

...ッドに対応します

* Array
* 追加: Array#bsearch 二分探索します
* 非互換:
* Array#shuffle! と Array#sample の random パラメータには最大値のみを指定することが可能になりました
* Array#values_at に Range オブジェクトを与え...
...い。

* Fixnum, Bignum, Float
* フリーズされました。

* Signal.trap
* 上を参照

* Onigmo をマージしました。
http
s://github.com/k-takata/Onigmo

* The :close_others option is true by default for system() and exec().
Also, the close-on-exec flag is set...
...添付ライブラリの更新 (優れたもののみ)

* cgi
* HTML5 用のタグメーカーを追加しました
* CGI#header は CGI#http_header に名前を変更しました。CGI#header は別名として残っています。
* HTML5 用のタグメーカーを呼び出すと CG...

NEWS for Ruby 2.6.0 (36.0)

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

...加されました。 6284
* 非互換な変更
* Proc#call が $SAFE を変更しなくなりました。 14250

* Random
* 新規メソッド
* Random.bytes が追加されました。 4938

* Range
* 新規メソッド
* Range#% が追加されました。 14697...
...に更新されました。
特に書き出しの高速化を含んでいます。
書き出しは約2倍高速化しています。
http
s://github.com/ruby/csv/blob/master/NEWS.md を参照してください。

* ERB
* 新規オプション
* :trim_mode と :eoutvar...
...* Net::HTTP
* 新規オプション
* :write_timeout キーワード引数が Net::HTTP.new に追加されました。 13396
* 新規メソッド
* Net::HTTP#write_timeout と Net::HTTP#write_timeout= が追加されました。 13396
* 新規定数
* Net::HTTPClientE...

NEWS for Ruby 3.1.0 (30.0)

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

...渡せるようになりました。 17744
* Enumerable#each_consとEnumerable#each_sliceがレシーバを返すようになりました。 https://github.com/ruby/ruby/pull/1509

//emlist[Enumerable#each_cons Enumerable#each_slice][ruby]{
[1, 2, 3].each_cons(2){}
# 3.0 => nil
# 3.1 => [1, 2,...
...1.6.0
* find 0.1.1
* io-console 0.5.10
* io-wait 0.2.1
* ipaddr 1.2.3
* irb 1.4.1
* json 2.6.1
* logger 1.5.0
* net-http 0.2.0
* net-protocol 0.1.2
* nkf 0.1.1
* open-uri 0.2.0
* openssl 3.0.0
* optparse 0.2.0
* ostruct 0.5.2
* pathname 0.2...
...6.4.0
* readline 0.0.3
* readline-ext 0.1.4
* reline 0.3.0
* resolv 0.2.1
* rinda 0.1.1
* ruby2_keywords 0.0.5
* securerandom 0.1.1
* set 1.0.2
* stringio 3.0.1
* strscan 3.0.1
* tempfile 0.1.2
* time 0.2.0
* timeout 0.2.0
* tmpdir 0.1.2
*...