るりまサーチ

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

別のキーワード

  1. securerandom alphanumeric
  2. alphanumeric securerandom

種類

ライブラリ

モジュール

検索結果

SecureRandom.alphanumeric(n = nil) -> String (18113.0)

ランダムな英数字を生成して返します。

...n A-Z, a-z, 0-9 からなる文字列が返されます。

@raise NotImplementedError 安全な乱数発生器が使えない場合に発生します。

//emlist[][ruby]{
require 'securerandom'
p SecureRandom.alphanumeric #=> "2BuBuLf3WfSKyQbR"
p SecureRandom.alphanumeric(10) #=> "i6K93NdqiH"
//}...

NEWS for Ruby 2.5.0 (6.0)

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

...gems.org/2017/10/09/2.6.14-released.html
* https://blog.rubygems.org/2017/08/27/2.6.13-released.html

* securerandom
* SecureRandom.alphanumeric を追加

* set
* Set#to_s を Set#inspect の別名として追加 13676
* Set#=== を Set#include? の別名として追加 13801...