ライブラリ
- ビルトイン (297)
- benchmark (88)
- etc (33)
- fiddle (11)
- matrix (44)
- openssl (11)
- pathname (44)
-
rubygems
/ config _ file (11) - shell (18)
-
shell
/ command-processor (18) -
shell
/ filter (18) - tempfile (11)
-
webrick
/ httpauth (22) -
webrick
/ httpauth / authenticator (11) -
webrick
/ httpauth / basicauth (22) -
webrick
/ httpauth / digestauth (11) -
webrick
/ httpauth / htdigest (44) -
webrick
/ httpauth / htpasswd (33) -
webrick
/ httpauth / userdb (33)
クラス
-
Benchmark
:: Tms (33) - Complex (55)
- File (55)
-
File
:: Stat (33) -
Gem
:: ConfigFile (11) - Matrix (44)
- Numeric (55)
- Pathname (44)
- Shell (18)
-
Shell
:: CommandProcessor (18) -
Shell
:: Filter (18) - Tempfile (11)
-
WEBrick
:: HTTPAuth :: BasicAuth (22) -
WEBrick
:: HTTPAuth :: DigestAuth (11) -
WEBrick
:: HTTPAuth :: Htdigest (44) -
WEBrick
:: HTTPAuth :: Htpasswd (33)
モジュール
- Benchmark (55)
- Etc (33)
- Fiddle (11)
- FileTest (33)
-
OpenSSL
:: ASN1 (11) - Process (55)
-
WEBrick
:: HTTPAuth (22) -
WEBrick
:: HTTPAuth :: Authenticator (11) -
WEBrick
:: HTTPAuth :: UserDB (33)
キーワード
-
CLOCK
_ REALTIME (11) -
CLOCK
_ REALTIME _ ALARM (11) -
CLOCK
_ REALTIME _ COARSE (11) -
CLOCK
_ REALTIME _ FAST (11) -
CLOCK
_ REALTIME _ PRECISE (11) - FORMAT (22)
- Numeric (11)
-
SC
_ REALTIME _ SIGNALS (11) -
SC
_ XOPEN _ REALTIME (11) -
SC
_ XOPEN _ REALTIME _ THREADS (11) - abs (11)
- abs2 (11)
-
basic
_ auth (11) - benchmark (11)
- bigdecimal (11)
- bm (11)
- bmbm (11)
- close (11)
-
delete
_ passwd (22) - each (11)
-
executable
_ real? (51) - format (11)
-
get
_ passwd (33) - imag (11)
- imaginary (11)
- integer? (11)
- magnitude (11)
-
make
_ passwd (33) - new (11)
-
proxy
_ basic _ auth (11) -
readable
_ real? (51) - real (33)
- real? (33)
- realdirpath (22)
- realloc (11)
-
really
_ verbose (11) - realm (22)
- realpath (33)
- realtime (11)
- rect (11)
- rectangular (11)
-
ruby
_ xrealloc (11) -
set
_ passwd (33) -
writable
_ real? (62) - 正規表現 (11)
検索結果
先頭5件
-
OpenSSL
:: ASN1 :: REAL -> Integer (18217.0) -
ASN.1 UNIVERSAL タグの、 REAL のタグ番号 9 を表す定数です。
...ASN.1 UNIVERSAL タグの、
REAL のタグ番号 9 を表す定数です。... -
File
. realdirpath(pathname , basedir = nil) -> String (12300.0) -
与えられた pathname に対応する絶対パスを返します。
...例外は発生しません。
@param pathname ファイル名を指定します。
@param basedir ベースディレクトリを指定します。省略するとカレントディレクトリを使用します。
@raise Errno::ENOENT ファイルが存在しない場合に発生します。... -
Pathname
# realdirpath(basedir = nil) -> Pathname (12300.0) -
Pathname#realpath とほぼ同じで、最後のコンポーネントは実際に 存在しなくてもエラーになりません。
...Pathname#realpath とほぼ同じで、最後のコンポーネントは実際に
存在しなくてもエラーになりません。
@param basedir ベースディレクトリを指定します。省略するとカレントディレクトリになります。
//emlist[例][ruby]{
require "pathna......_exist")
path.realdirpath # => #<Pathname:/not_exist>
path.realpath # => Errno::ENOENT
# 最後ではないコンポーネント(/not_exist_1)も存在しないのでエラーになる。
path = Pathname("/not_exist_1/not_exist_2")
path.realdirpath # => Errno::ENOENT
//}
@see Pathname#realpa... -
Pathname
# writable _ real? -> bool (12223.0) -
FileTest.writable_real?(self.to_s) と同じです。
...FileTest.writable_real?(self.to_s) と同じです。
@see FileTest.#writable_real?... -
File
. writable _ real?(path) -> bool (12217.0) -
FileTest.#writable_real? と同じです。
...FileTest.#writable_real? と同じです。
@param path パスを表す文字列を指定します。... -
File
:: Stat # writable _ real? -> bool (12207.0) -
実ユーザ/実グループによって書き込み可能な時に真を返します。
...実ユーザ/実グループによって書き込み可能な時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).writable_real? #=> true
//}... -
Shell
# writable _ real?(file) -> bool (12207.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable_real?... -
Shell
:: CommandProcessor # writable _ real?(file) -> bool (12207.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable_real?... -
Shell
:: Filter # writable _ real?(file) -> bool (12207.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable_real?... -
FileTest
. # writable _ real?(file) -> bool (12201.0) -
ファイルがカレントプロセスの実ユーザか実グループによって書き込み可能である時に真 を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...込み可能である時に真
を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable?... -
Benchmark
. # realtime { . . . } -> Float (12200.0) -
与えられたブロックを評価して実行時間を計測して返します。 返り値の単位は、秒です。
...与えられたブロックを評価して実行時間を計測して返します。
返り値の単位は、秒です。
//emlist[][ruby]{
require 'benchmark'
puts Benchmark.realtime { [0] * (10**8) } # => 1.0929416846483946
//}...