7件ヒット
[1-7件を表示]
(0.025秒)
種類
- インスタンスメソッド (4)
- モジュール関数 (3)
クラス
-
OpenSSL
:: OCSP :: CertificateId (2) - String (1)
- Symbol (1)
モジュール
- FileUtils (3)
キーワード
- casecmp? (2)
-
cmp
_ issuer (1) -
compare
_ file (1) - identical? (1)
検索結果
先頭5件
-
FileUtils
. # cmp(file _ a , file _ b) -> bool (54649.0) -
ファイル file_a と file_b の内容が同じなら真を返します。
ファイル file_a と file_b の内容が同じなら真を返します。
@param file_a ファイル名。
@param file_b ファイル名。
//emlist[][ruby]{
require 'fileutils'
FileUtils.cmp('somefile', 'somefile') #=> true
FileUtils.cmp('/dev/null', '/dev/urandom') #=> false
//} -
OpenSSL
:: OCSP :: CertificateId # cmp(other) -> bool (54625.0) -
2つの CertificateId オブジェクトを比較し、 同じものであれば真を返します。
2つの CertificateId オブジェクトを比較し、
同じものであれば真を返します。
@param other 比較する OpenSSL::OCSP::CertificateId オブジェクト
@see OpenSSL::OCSP::CertificateId#cmp_issuer -
OpenSSL
:: OCSP :: CertificateId # cmp _ issuer(other) -> bool (18625.0) -
2つの CertificateId オブジェクトの issuer(証明書発行者)を比較し、 同じ issuer であれば真を返します。
2つの CertificateId オブジェクトの issuer(証明書発行者)を比較し、
同じ issuer であれば真を返します。
@param other 比較する OpenSSL::OCSP::CertificateId オブジェクト
@see OpenSSL::OCSP::CertificateId#cmp -
String
# casecmp?(other) -> bool | nil (18604.0) -
大文字小文字の違いを無視し文字列を比較します。 文字列が一致する場合には true を返し、一致しない場合には false を返します。
大文字小文字の違いを無視し文字列を比較します。
文字列が一致する場合には true を返し、一致しない場合には false を返します。
@param other self と比較する文字列
//emlist[例][ruby]{
"abcdef".casecmp?("abcde") #=> false
"aBcDeF".casecmp?("abcdef") #=> true
"abcdef".casecmp?("abcdefg") #=> false
"abcdef".casecmp?("ABCDEF") #=> true
"\u{e4 f6 fc}".ca... -
Symbol
# casecmp?(other) -> bool | nil (18604.0) -
大文字小文字の違いを無視しシンボルを比較します。 シンボルが一致する場合には true を返し、一致しない場合には false を返します。
大文字小文字の違いを無視しシンボルを比較します。
シンボルが一致する場合には true を返し、一致しない場合には false を返します。
@param other 比較対象のシンボルを指定します。
//emlist[][ruby]{
:abcdef.casecmp?(:abcde) #=> false
:aBcDeF.casecmp?(:abcdef) #=> true
:abcdef.casecmp?(:abcdefg) #=> false
:abcdef.casecmp?(:ABCDEF) #=> true
:"\u{e4 f6 fc}".casecmp?... -
FileUtils
. # compare _ file(file _ a , file _ b) -> bool (9349.0) -
ファイル file_a と file_b の内容が同じなら真を返します。
ファイル file_a と file_b の内容が同じなら真を返します。
@param file_a ファイル名。
@param file_b ファイル名。
//emlist[][ruby]{
require 'fileutils'
FileUtils.cmp('somefile', 'somefile') #=> true
FileUtils.cmp('/dev/null', '/dev/urandom') #=> false
//} -
FileUtils
. # identical?(file _ a , file _ b) -> bool (9349.0) -
ファイル file_a と file_b の内容が同じなら真を返します。
ファイル file_a と file_b の内容が同じなら真を返します。
@param file_a ファイル名。
@param file_b ファイル名。
//emlist[][ruby]{
require 'fileutils'
FileUtils.cmp('somefile', 'somefile') #=> true
FileUtils.cmp('/dev/null', '/dev/urandom') #=> false
//}