681件ヒット
[1-100件を表示]
(0.041秒)
ライブラリ
- English (11)
- ビルトイン (282)
- csv (44)
- json (121)
- mkmf (22)
- openssl (22)
- pty (11)
-
ripper
/ lexer (7) -
rubygems
/ user _ interaction (33)
クラス
- CSV (44)
- File (33)
-
File
:: Stat (132) -
Gem
:: StreamUI (33) -
OpenSSL
:: OCSP :: BasicResponse (22) -
Process
:: Status (33) - Ripper (7)
- Thread (11)
モジュール
- GC (22)
- JSON (22)
-
JSON
:: Generator :: GeneratorMethods :: Array (11) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (11) -
JSON
:: Generator :: GeneratorMethods :: Float (11) -
JSON
:: Generator :: GeneratorMethods :: Hash (11) -
JSON
:: Generator :: GeneratorMethods :: Integer (11) -
JSON
:: Generator :: GeneratorMethods :: NilClass (11) -
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: String (11) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) - Kernel (44)
- PTY (11)
- Process (29)
キーワード
-
$ ? (11) -
$ CHILD _ STATUS (11) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - <=> (11)
-
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 3
. 1 . 0 (3) -
add
_ status (11) - alert (11)
-
alert
_ error (11) -
alert
_ warning (11) - blksize (11)
- blocks (11)
- check (11)
- chown (22)
-
dev
_ major (11) -
dev
_ minor (11) - eval (11)
- exitstatus (11)
- ftype (11)
- generate (11)
-
last
_ status (7) -
latest
_ gc _ info (22) - lchown (11)
- lex (7)
- new (11)
- open (44)
-
pipe
_ open (11) -
rb
_ false (11) -
rdev
_ major (11) -
rdev
_ minor (11) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) - size? (11)
- status (22)
- stopsig (11)
- termsig (11)
-
to
_ json (99) -
try
_ static _ assert (22) - unparse (11)
- wait2 (11)
- waitpid2 (11)
-
world
_ readable? (11) -
world
_ writable? (11)
検索結果
先頭5件
-
File
:: Stat (18018.0) -
ファイルの情報を格納したオブジェクトのクラス。
...に取るかわりに Stat 自身について判定する点が違います。
//emlist[][ruby]{
p File::Stat.new($0).directory? #=> false
p FileTest.directory?($0) #=> false
//}
1.8 以降では、属性メソッドがシステムでサポートされていない場合 nil が返ります。
な... -
Process
:: Status # exitstatus -> Integer | nil (9217.0) -
exited? が真の場合プロセスが返した終了ステータスの整数を、そ うでない場合は nil を返します。
...exited? が真の場合プロセスが返した終了ステータスの整数を、そ
うでない場合は nil を返します。... -
OpenSSL
:: OCSP :: BasicResponse # status -> [[OpenSSL :: OCSP :: CertificateId , Integer , Integer , Time|nil , Time , Time|nil , [OpenSSL :: X509 :: Extension]]] (6320.0) -
証明書の状態の問い合わせの結果を返します。
...TSTATUS_GOOD 正常
* OpenSSL::OCSP::V_CERTSTATUS_REVOKED 失効
* OpenSSL::OCSP::V_CERTSTATUS_UNKNOWN 不明
失効理由コードは以下のいずれかを返します。
* OpenSSL::OCSP::REVOKED_STATUS_NOSTATUS
* OpenSSL::OCSP::REVOKED_STATUS_UNSPECIFIED
* OpenSSL::OCSP::REVOKED_STAT......OpenSSL::OCSP::REVOKED_STATUS_CACOMPROMISE
* OpenSSL::OCSP::REVOKED_STATUS_AFFILIATIONCHANGED
* OpenSSL::OCSP::REVOKED_STATUS_SUPERSEDED
* OpenSSL::OCSP::REVOKED_STATUS_CESSATIONOFOPERATION
* OpenSSL::OCSP::REVOKED_STATUS_CERTIFICATEHOLD
* OpenSSL::OCSP::REVOKED_STATUS_REMOVEFROMCRL
失......効時刻は証明書が失効した時刻を表します。失効していない場合は nil を
返します。
最終更新時刻は失効情報が更新された時刻を表します。この時刻が現在時刻より
先である場合には、この Response の内容は信用できませ... -
Process
. last _ status -> Process :: Status | nil (6313.0) -
カレントスレッドで最後に終了した子プロセスのステータスを返します。
...。
Process.wait Process.spawn("ruby", "-e", "exit 13")
Process.last_status # => #<Process::Status: pid 4825 exit 13>
カレントスレッドで子プロセスを実行したことがない場合は nil を返します。
Process.last_status # => nil
@see Process::Status
@see $?... -
Kernel
$ $ CHILD _ STATUS -> Process :: Status | nil (6301.0) -
$? の別名
...$? の別名
require "English"
out = `wget https://www.ruby-lang.org/en/about/license.txt -O - 2>/dev/null`
if $CHILD_STATUS.to_i == 0
print "wget success\n"
out.split(/\n/).each { |line|
printf "%s\n", line
}
else
print "wget failed\n"
end... -
Thread
# status -> String | false | nil (6223.0) -
生きているスレッドの状態を文字列 "run"、"sleep", "aborting" のいず れかで返します。正常終了したスレッドに対して false、例外によ り終了したスレッドに対して nil を返します。
..."aborting" のいず
れかで返します。正常終了したスレッドに対して false、例外によ
り終了したスレッドに対して nil を返します。
Thread#alive? が真を返すなら、このメソッドも真です。
例:
a = Thread.new { raise("die now") }
b = Threa......hread.new { sleep }
d.kill #=> #<Thread:0x401b3678 aborting>
a.status #=> nil
b.status #=> "sleep"
c.status #=> false
d.status #=> "aborting"
Thread.current.status #=> "run"
@see Thread#alive?, Thread#stop?... -
OpenSSL
:: OCSP :: BasicResponse # add _ status(cid , status , reason , revtime , thisupd , nextupd , exts) -> self (6206.0) -
証明書の状態の問い合わせの結果をオブジェクトに追加します。
...:BasicResponse#status を見てください。
@param cid 問い合わせの(OpenSSL::OCSP::CertificateId オブジェクト)
@param status ステータスコード(整数)
@param reason 失効理由コード(整数)
@param revtime 失効時刻(Time オブジェクトもしくは nil)
@param thisup... -
Kernel
# try _ static _ assert(expr , headers = nil , opt = "") -> bool (6202.0) -
@todo ???
@todo ???
...
@param expr C 言語の式を指定します。
@param headers 追加のヘッダファイルを指定します。
@param opt コンパイラに渡すオプションを指定します。
$CFLAGS もコンパイラには渡されます。 -
Kernel
# try _ static _ assert(expr , headers = nil , opt = "") { . . . } -> bool (6202.0) -
@todo ???
@todo ???
...
@param expr C 言語の式を指定します。
@param headers 追加のヘッダファイルを指定します。
@param opt コンパイラに渡すオプションを指定します。
$CFLAGS もコンパイラには渡されます。 -
JSON
:: Generator :: GeneratorMethods :: NilClass # to _ json(state _ or _ hash = nil) -> String (3207.0) -
自身から生成した JSON 形式の文字列を返します。
...am state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
nil.t...