るりまサーチ

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

別のキーワード

  1. ftp ls
  2. net/ftp ls
  3. ls net/ftp
  4. ls net::ftp

ライブラリ

検索結果

SecureRandom.urlsafe_base64(n = nil, padding = false) -> String (6201.0)

ランダムで URL-safe な base64 文字列を生成して返します。

...発生します。

require 'securerandom'
p SecureRandom.urlsafe_base64 #=> "b4GOKm4pOYU_-BOXcrUGDg"
p SecureRandom.urlsafe_base64 #=> "UZLdOkzop70Ddx-IJR0ABg"
p SecureRandom.urlsafe_base64(nil, true) #=> "i0XQ-7gglIsHGV2_BNPrdQ=="
p SecureRandom.urlsafe_base64(nil, true) #=> "-M8rLh...