るりまサーチ

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

別のキーワード

  1. time rfc2822
  2. time iso8601
  3. time httpdate
  4. time parse
  5. time strptime

ライブラリ

キーワード

検索結果

Timeout (6001.0)

タイムアウトを行うためのモジュールです。

タイムアウトを行うためのモジュールです。

Observable (31.0)

Observer パターンを提供するモジュールです。

...ice}\n"
if price != last_price
changed # notify observers
last_price = price
notify_observers(Time.now, price)
end
sleep 1
end
end
end

class Price ### A mock class to fetch a stock price (60 - 140).
de...
...date(time, price) # callback for observer
if price < @limit
print "--- #{time.to_s}: Price below #@limit: #{price}\n"
end
end
end

class WarnHigh < Warner
def update(time, price) # callback for observer
if price > @limit
print "+++ #{time.to_...

FileUtils (7.0)

基本的なファイル操作を集めたモジュールです。

...先を削除します。
: :secure
真を指定するとファイルの削除に FileUtils.#remove_entry_secure を使用します。
: :mtime
時刻を Time か、起算時からの経過秒数を数値で指定します。
: :parents
真を指定すると指定したディレクトリの親...

OpenSSL::OCSP (7.0)

OCSP(Online Certificate Status Protocol)を取り扱うための モジュールです。OCSP は 2560 で定義されています。

..., 1].include?(req.check_nonce(basic_resp))
unless basic_resp.verify([], store)
puts "verify response fail"
end
rescid, status, reason, revtime, thisupd, nextupd, exts = basic_resp.status.first
STATUS2MESSAGE = {
OpenSSL::OCSP::V_CERTSTATUS_GOOD => "OK",
OpenSSL::OCSP::V_CERTSTA...
...",
}
puts "status: #{STATUS2MESSAGE[status]}"
puts "reason: #{reason}" if status == OpenSSL::OCSP::V_CERTSTATUS_REVOKED
puts "revoked time: #{revtime}" if status == OpenSSL::OCSP::V_CERTSTATUS_REVOKED
puts "response update: #{thisupd}"
puts "response next update: #{nextupd}"
puts "ext...

OpenSSL::Random (7.0)

OpenSSL が利用する擬似乱数生成器関連のモジュールです。

...れる乱数がより予測不可能になる。

エントロピー源には良いものと悪いものがあります。例えば現在時刻(Unix time)は
エントロピー源としては悪いです。なぜなら予測不可能なのは
せいぜい秒の部分のみであり、上位のビッ...

絞り込み条件を変える

Profiler__ (7.0)

プロファイラの実装です。 Profiler__.start_profile 実行から、Profiler__.stop_profile までの 区間の実行コードのプロファイルを取得します。

...elf total
time
seconds seconds calls ms/call ms/call name
51.64 1.10 1.10 3 366.67 776.67 Kernel.require
17.37 1.47 0.37 1 370.00 370.00 TclTkIp#initialize
8.92 1.66 0.19 514 0.37 0.37 Module#method_added...
...07 15 4.67 4.67 Module#extend_object
3.29 2.03 0.07 133 0.53 0.53 Kernel.singleton_method_added
2.82 2.09 0.06 28 2.14 2.86 Module#attr
1.88 2.13 0.04 19 2.11 2.11 Module#private
1.41 2.16...
...0.03 29 1.03 1.38 Module#include
0.94 2.18 0.02 10 2.00 4.00 Module#module_function
0.94 2.20 0.02 2 10.00 10.00 Array#collect
:
:
<snip>...

WEBrick::AccessLog (7.0)

WEBrick::HTTPServer のアクセスログの形式を処理するために内部で使われるモジュールです。

...付けた時刻。 CLF の時刻の書式 (標準の英語の書式)
: %{format}t
format で与えられた書式による時刻。format は Time#strftime の 書式である必要がある。
: %T
リクエストを扱うのにかかった時間、秒単位
: %u
リモートユーザ
: %U...