552件ヒット
[1-100件を表示]
(0.031秒)
別のキーワード
種類
- 関数 (348)
- インスタンスメソッド (120)
- 文書 (84)
クラス
-
File
:: Stat (12) -
JSON
:: State (24) -
OpenSSL
:: OCSP :: BasicResponse (12) - Pathname (36)
-
Process
:: Status (36)
キーワード
- & (12)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - <=> (12)
- == (12)
- >> (12)
-
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 3
. 1 . 0 (4) -
add
_ status (12) -
arg
_ defined (12) - assign (12)
-
bind
_ clone (12) -
block
_ pass (12) -
call
_ trace _ func (12) - chown (12)
- configure (12)
-
ev
_ const _ defined (12) -
ev
_ const _ get (12) - eval (12)
-
eval
_ node (12) -
eval
_ under (12) -
handle
_ rescue (12) -
is
_ defined (12) - lstat (12)
- massign (12)
- merge (12)
-
method
_ clone (12) -
proc
_ eq (12) -
proc
_ invoke (12) -
proc
_ to _ s (12) -
rb
_ callcc (12) -
rb
_ eval (12) -
rb
_ f _ binding (12) -
rb
_ f _ eval (12) -
rb
_ thread _ s _ abort _ exc _ set (12) -
rb
_ yield _ 0 (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
secure
_ visibility (12) -
set
_ method _ visibility (12) -
specific
_ eval (12) - superclass (12)
-
yield
_ under (12) -
yield
_ under _ i (12)
検索結果
先頭5件
-
Pathname
# stat -> File :: Stat (18240.0) -
File.stat(self.to_s) と同じです。
...File.stat(self.to_s) と同じです。
@see File.stat... -
OpenSSL
:: OCSP :: BasicResponse # add _ status(cid , status , reason , revtime , thisupd , nextupd , exts) -> self (6301.0) -
証明書の状態の問い合わせの結果をオブジェクトに追加します。
...果をオブジェクトに追加します。
詳しくは OpenSSL::OCSP::BasicResponse#status を見てください。
@param cid 問い合わせの(OpenSSL::OCSP::CertificateId オブジェクト)
@param status ステータスコード(整数)
@param reason 失効理由コード(整数)
@param r... -
Pathname
# lstat -> File :: Stat (6217.0) -
File.lstat(self.to_s) と同じです。
...File.lstat(self.to_s) と同じです。
@see File.lstat... -
JSON
:: State # configure(options = {}) -> self (3102.0) -
与えられたハッシュで自身を設定します。
...ュのキーについては JSON::State.new を参照してください。
@param options このオブジェクトの設定をするためのハッシュを指定します。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(indent: "\t")
json_state.indent # => "\t"
JSON.generate({......y1: "value1", key2: "value2"}, json_state)
# => "{\t\"key1\":\"value1\",\t\"key2\":\"value2\"}"
json_state.configure(indent: " ")
json_state.indent # => " "
JSON.generate({key1: "value1", key2: "value2"}, json_state)
# => "{ \"key1\":\"value1\", \"key2\":\"value2\"}"
//}
@see JSON::State.new... -
JSON
:: State # merge(options = {}) -> self (3102.0) -
与えられたハッシュで自身を設定します。
...ュのキーについては JSON::State.new を参照してください。
@param options このオブジェクトの設定をするためのハッシュを指定します。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(indent: "\t")
json_state.indent # => "\t"
JSON.generate({......y1: "value1", key2: "value2"}, json_state)
# => "{\t\"key1\":\"value1\",\t\"key2\":\"value2\"}"
json_state.configure(indent: " ")
json_state.indent # => " "
JSON.generate({key1: "value1", key2: "value2"}, json_state)
# => "{ \"key1\":\"value1\", \"key2\":\"value2\"}"
//}
@see JSON::State.new... -
File
:: Stat # <=>(o) -> Integer | nil (3052.0) -
ファイルの最終更新時刻を比較します。self が other よりも 新しければ正の数を、等しければ 0 を古ければ負の数を返します。 比較できない場合は nil を返します。
...ファイルの最終更新時刻を比較します。self が other よりも
新しければ正の数を、等しければ 0 を古ければ負の数を返します。
比較できない場合は nil を返します。
@param o File::Stat のインスタンスを指定します。
//emlist[][ru......fp1 = Tempfile.open("first")
fp1.print "古い方\n"
sleep(1)
fp2 = Tempfile.open("second")
fp2.print "新しい方\n"
p File::Stat.new(fp1.path) <=> File::Stat.new(fp2.path) #=> -1
p File::Stat.new(fp2.path) <=> File::Stat.new(fp1.path) #=> 1
p File::Stat.new(fp1.path) <=> fp2.path #=> nil
//}... -
Process
:: Status # &(other) -> Integer (3016.0) -
self.to_i & other と同じです。 このメソッドは後方互換性のためにあります。
...
self.to_i & other と同じです。
このメソッドは後方互換性のためにあります。
@param other 自身との & 演算をしたい整数を指定します。... -
Process
:: Status # >>(num) -> Integer (3016.0) -
self.to_i >> num と同じです。
...
self.to_i >> num と同じです。
@param num 整数を指定します。
fork { exit 99 } #=> 26563
Process.wait #=> 26563
$?.to_i #=> 25344
$? >> 8 #=> 99... -
Process
:: Status # ==(other) -> bool (3006.0) -
同じステータスの場合に真を返します。
...同じステータスの場合に真を返します。
other が数値の場合、self.to_i との比較が行われます。こ
れは後方互換性のためです。
@param other 自身と比較したいオブジェクトを指定します。...