140件ヒット
[101-140件を表示]
(0.015秒)
ライブラリ
-
cgi
/ session (12) - fileutils (12)
- securerandom (80)
- tmpdir (24)
クラス
-
CGI
:: Cookie (12) -
CGI
:: Session (12) - Dir (24)
モジュール
- FileUtils (12)
- SecureRandom (80)
キーワード
- alphanumeric (8)
- base64 (12)
- hex (12)
- mktmpdir (24)
- new (24)
-
random
_ bytes (12) -
random
_ number (12) -
urlsafe
_ base64 (12) - uuid (12)
検索結果
先頭4件
-
CGI
:: Session . new(request , option = {}) -> CGI :: Session (7.0) -
セッションオブジェクトを新しく作成し返します。
...なるドメインを指定します。
デフォルトでは、CGI を実行しているサーバのホスト名になります。
: session_secure
真を指定すると HTTPS の場合のみ有効になります。
: session_path
クッキーの path として使われます。
デフォ... -
Dir
. mktmpdir(prefix _ suffix = nil , tmpdir = nil) -> String (7.0) -
一時ディレクトリを作成します。
...レクトリは存在する。
begin
File.open("#{dir}/foo", "w") { |fp|
fp.puts "hogehoge"
}
ensure
FileUtils.remove_entry_secure dir
end
p FileTest.directory?(dir) #=> false
@raise ArgumentError tmpdirが全てのユーザから書き込み可能かつ、sticky... -
Dir
. mktmpdir(prefix _ suffix = nil , tmpdir = nil) {|dir| . . . } -> object (7.0) -
一時ディレクトリを作成します。
...レクトリは存在する。
begin
File.open("#{dir}/foo", "w") { |fp|
fp.puts "hogehoge"
}
ensure
FileUtils.remove_entry_secure dir
end
p FileTest.directory?(dir) #=> false
@raise ArgumentError tmpdirが全てのユーザから書き込み可能かつ、sticky... -
FileUtils
. options -> Array (7.0) -
オプション名の配列を返します。
...オプション名の配列を返します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.options
# => ["verbose", "mode", "noop", "parents", "force", "preserve", "dereference_root", "remove_destination", "secure", "mtime", "nocreate"]
//}......オプション名の配列を返します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.options
# => ["noop", "verbose", "force", "mode", "parents", "owner", "group", "preserve", "dereference_root", "remove_destination", "secure", "mtime", "nocreate"]
//}...