689件ヒット
[601-689件を表示]
(0.022秒)
種類
- インスタンスメソッド (363)
- 特異メソッド (269)
- モジュール関数 (45)
- 文書 (12)
ライブラリ
- ビルトイン (343)
- date (122)
-
fiddle
/ import (12) - fileutils (12)
-
net
/ ftp (24) -
net
/ http (67) - openssl (24)
-
rubygems
/ security (12) - time (24)
- timeout (37)
クラス
- DateTime (122)
-
Gem
:: Security :: Policy (12) -
Net
:: FTP (24) -
Net
:: HTTP (67) -
OpenSSL
:: SSL :: SSLContext (24) - Time (331)
モジュール
-
Fiddle
:: Importer (12) - FileUtils (12)
-
GC
:: Profiler (24) - Kernel (16)
- Process (12)
- Timeout (21)
キーワード
- - (24)
-
_ strptime (12) - at (34)
- civil (12)
-
clock
_ gettime (12) - commercial (12)
-
continue
_ timeout= (12) -
deconstruct
_ keys (4) - gm (24)
- iso8601 (12)
- jd (12)
-
keep
_ alive _ timeout= (12) - local (24)
- mktime (24)
- new (43)
- now (12)
- nsec (12)
-
open
_ timeout= (24) - ordinal (12)
-
read
_ timeout= (24) -
remove
_ entry _ secure (12) - report (12)
- result (12)
-
ruby 1
. 6 feature (12) -
sec
_ fraction (12) - second (12)
-
second
_ fraction (12) -
ssl
_ timeout= (24) - struct (12)
- subsec (12)
- timeout (37)
- timeout= (12)
-
to
_ a (12) -
to
_ i (12) -
tv
_ nsec (12) -
tv
_ sec (12) -
tv
_ usec (12) - usec (12)
- utc (24)
-
verify
_ gem (12) -
write
_ timeout= (7) - xmlschema (12)
検索結果
先頭5件
- Gem
:: Security :: Policy # verify _ gem(signature , data , chain , time = Time . now) -> Array - DateTime
. commercial(cwyear = -4712 , cweek = 1 , cwday = 1 , hour = 0 , min = 0 , sec = 0 , offset = 0 , start = Date :: ITALY) -> DateTime - DateTime
. jd(jd = 0 , hour = 0 , min = 0 , sec = 0 , offset = 0 , start = Date :: ITALY) -> DateTime - DateTime
. ordinal(year = -4712 , yday = 1 , hour = 0 , min = 0 , sec = 0 , offset = 0 , start = Date :: ITALY) -> DateTime - DateTime
# deconstruct _ keys(array _ of _ names _ or _ nil) -> Hash
-
Gem
:: Security :: Policy # verify _ gem(signature , data , chain , time = Time . now) -> Array (3208.0) -
与えられたデータを与えられた署名と証明書チェーンで検証します。
...します。
@param data 検証するデータを指定します。
@param chain 検証で使用する証明書チェーンを指定します。
@param time この時刻に有効であることを検証する。
@raise Gem::Security::Exception 検証に失敗した場合に発生します。... -
DateTime
. commercial(cwyear = -4712 , cweek = 1 , cwday = 1 , hour = 0 , min = 0 , sec = 0 , offset = 0 , start = Date :: ITALY) -> DateTime (3207.0) -
暦週日付に相当する日時オブジェクトを生成します。
...週日付に相当する日時オブジェクトを生成します。
DateTime.new も参照してください。
@param cwyear 年
@param cweek 週
@param cwday 週の日 (曜日)
@param hour 時
@param min 分
@param sec 秒
@param offset 時差
@param start グレゴリオ暦をつかい始め... -
DateTime
. jd(jd = 0 , hour = 0 , min = 0 , sec = 0 , offset = 0 , start = Date :: ITALY) -> DateTime (3207.0) -
ユリウス日に相当する日時オブジェクトを生成します。
...ユリウス日に相当する日時オブジェクトを生成します。
DateTime.new も参照してください。
@param jd ユリウス日
@param hour 時
@param min 分
@param sec 秒
@param offset 時差
@param start グレゴリオ暦をつかい始めた日をあらわすユリウス日... -
DateTime
. ordinal(year = -4712 , yday = 1 , hour = 0 , min = 0 , sec = 0 , offset = 0 , start = Date :: ITALY) -> DateTime (3207.0) -
年日付に相当する日時オブジェクトを生成します。
...年日付に相当する日時オブジェクトを生成します。
DateTime.new も参照してください。
@param year 年
@param yday 年の日
@param hour 時
@param min 分
@param sec 秒
@param offset 時差
@param start グレゴリオ暦をつかい始めた日をあらわすユリウ... -
DateTime
# deconstruct _ keys(array _ of _ names _ or _ nil) -> Hash (3030.0) -
パターンマッチに使用する名前と値の Hash を返します。
...* :wday
* :hour
* :min
* :sec
* :sec_fraction
* :zone
@param array_of_names_or_nil パターンマッチに使用する名前の配列を指定します。nil の場合は全てをパターンマッチに使用します。
//emlist[例][ruby]{
dt = DateTime.new(2022, 10, 5, 13, 30)
if d......t in wday: 1..5, hour: 10..18 # deconstruct_keys が使われます
puts "Working time"
end
#=> "Working time" が出力される
case dt
in year: ...2022
puts "too old"
in month: ..9
puts "quarter 1-3"
in wday: 1..5, month:
puts "working day in month #{month}"
end
#=> "working day in month......10" が出力される
# クラスのチェックと組み合わせて利用することもできます
if dt in DateTime(wday: 1..5, hour: 10..18, day: ..7)
puts "Working time, first week of the month"
end
//}
@see d:spec/pattern_matching#matching_non_primitive_objects... -
ruby 1
. 6 feature (60.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
...9>))
ruby -Tv # -v が無効 (ruby 1.6.7 (2002-03-01) [i586-linux])
=> ruby: No program input from stdin allowed in tainted mode (SecurityError)
=> ruby 1.6.7 (2002-07-30) [i586-linux]
: 2002-05-20 IO#close
双方向のパイプの dup を close_write するとエラ.......6.7 (2002-07-30) [i586-linux]
"\\#"
nil
: 2002-04-29: rb_find_file()
$SAFE >= 4 で、絶対パス指定でない場合、SecurityError 例外が発生する
ようになりました。
: 2002-04-26: Regexp.quote
((<ruby-bugs-ja:PR#231>))
p Regexp.quote("\t"......class for true (TypeError)
ruby 1.6.6 (2001-12-26) [i586-linux]
=> ruby 1.6.7 (2002-03-01) [i586-linux]
"foo"
: ((<time>)), URI
追加されました。
: Ruby/Tk
バグ修正、機能追加 ((<ruby-dev:16139>)),((<ruby-dev:16153>))。
: 数値リテラルの... -
Fiddle
:: Importer # struct(signature) -> Class (48.0) -
C の構造体型に対応する Ruby のクラスを構築して返します。
...nature に渡してデータを定義します。例えば C における
struct timeval {
long tv_sec;
long tv_usec;
};
という構造体型に対応して
Timeval = struct(["long tv_sec", "long tv_usec"])
として構造体に対応するクラスを生成します。
このメソ......require 'fiddle/import'
module M
extend Fiddle::Importer
dlload "libc.so.6"
extern "int gettimeofday(void*, void*)"
Timeval = struct(["long tv_sec", "long tv_usec"])
end
time = M::Timeval.malloc
M.gettimeofday(time, Fiddle::NULL)
p time.tv_sec
p time.tv_usec... -
GC
:: Profiler . result -> String (30.0) -
GC のプロファイル情報をフォーマットし、文字列として返します。
...r.enable; a = Array.new(100000){ 'aa' }; puts GC::Profiler.result"
GC 5 invokes.
Index Invoke Time(sec) Use Size(byte) Total Size(byte) Total Object GC Time(ms)
1 0.012 165600 212940 10647......の起動回数
: Invoke Time
Ruby が起動してから GC が起動するまでに経過した時間
: Use Size
ヒープ内での使用サイズ
: Total Size
ヒープ全体のサイズ
: Total Object
ヒープ内に存在するオブジェクトの個数
: GC Time
GC の処理時間
@... -
GC
:: Profiler . report(out = $ stdout) -> nil (18.0) -
GC::Profiler.result の結果を out に出力します。
...t[例][ruby]{
GC::Profiler.enable
GC.start
GC::Profiler.report
# => GC 4 invokes.
# Index Invoke Time(sec) Use Size(byte) Total Size(byte) Total Object GC Time(ms)
# 1 0.019 303720 1269840 31746...