ライブラリ
- ビルトイン (2)
- openssl (5)
- pathname (1)
- rake (4)
-
rubygems
/ dependency _ list (2) -
rubygems
/ source _ index (3) -
rubygems
/ specification (3)
クラス
- Encoding (1)
-
Gem
:: DependencyList (2) -
Gem
:: SourceIndex (3) -
Gem
:: Specification (3) - Module (1)
-
OpenSSL
:: X509 :: Certificate (4) -
OpenSSL
:: X509 :: ExtensionFactory (1) - Pathname (1)
-
Rake
:: Application (2) -
Rake
:: InvocationChain (1) -
Rake
:: InvocationChain :: EmptyInvocationChain (1)
キーワード
-
deprecate
_ constant (1) -
file
_ name (1) -
find
_ name (2) -
full
_ name (1) - init (1)
- issuer (1)
- issuer= (1)
- member? (2)
-
original
_ name (1) -
remove
_ by _ name (1) -
remove
_ spec (1) - replicate (1)
- specification (1)
- subject (1)
- subject= (1)
-
subject
_ certificate= (1) - truncate (1)
検索結果
先頭5件
-
Rake
:: Application # name -> String (72325.0) -
アプリケーションの名前を返します。通常は 'rake' という名前を返します。
アプリケーションの名前を返します。通常は 'rake' という名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.name # => "rake"
end
//} -
Gem
:: Specification # full _ name -> String (45673.0) -
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
プラットフォームの情報が指定されている場合は、それも含みます (name-version-platform)。 -
Gem
:: Specification # original _ name -> String (45625.0) -
このメソッドは後方互換性のために残されています。
このメソッドは後方互換性のために残されています。
@see Gem::Specification#full_name -
Gem
:: Specification # file _ name -> String (45607.0) -
生成される Gem パッケージの名前を返します。
生成される Gem パッケージの名前を返します。 -
Encoding
# replicate(name) -> Encoding (36973.0) -
レシーバのエンコーディングを複製(replicate)します。 複製されたエンコーディングは元のエンコーディングと同じバイト構造を持たなければなりません。 name という名前のエンコーディングが既に存在する場合は ArgumentError を発生します。
レシーバのエンコーディングを複製(replicate)します。
複製されたエンコーディングは元のエンコーディングと同じバイト構造を持たなければなりません。
name という名前のエンコーディングが既に存在する場合は ArgumentError を発生します。
Ruby 3.2 から非推奨となり、Ruby 3.3 で削除予定です。
//emlist[][ruby]{
encoding = Encoding::UTF_8.replicate("REPLICATED_UTF-8") #=> #<Encoding:REPLICATED_UTF-8>
encoding.name ... -
Gem
:: DependencyList # find _ name(full _ name) -> Gem :: Specification | nil (28246.0) -
自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。
自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。
見つからなかった場合は nil を返します。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name -
Gem
:: DependencyList # remove _ by _ name(full _ name) -> Gem :: Specification (28246.0) -
与えられた名前を持つ Gem::Specification を自身から削除します。
与えられた名前を持つ Gem::Specification を自身から削除します。
このメソッドでは削除後の依存関係をチェックしません。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name, Array#delete_if -
Module
# deprecate _ constant(*name) -> self (27973.0) -
name で指定した定数を deprecate に設定します。 deprecate に設定した定数を参照すると警告メッセージが表示されます。
name で指定した定数を deprecate に設定します。
deprecate に設定した定数を参照すると警告メッセージが表示されます。
@param name 0 個以上の String か Symbol を指定します。
@raise NameError 存在しない定数を指定した場合に発生します。
@return self を返します。
//emlist[例][ruby]{
FOO = 123
Object.deprecate_constant(:FOO) # => Object
FOO
# warning: constant ::FOO is deprecated
# =... -
OpenSSL
:: X509 :: ExtensionFactory # subject _ certificate=(name) (27607.0) -
自身に所有者(subject)の証明書オブジェクトを設定します。
自身に所有者(subject)の証明書オブジェクトを設定します。
@param cert 設定する証明書(OpenSSL::X509::Certificate)オブジェクト
@see OpenSSL::X509::ExtensionFactory.new -
Pathname
# truncate(length) -> 0 (27604.0) -
File.truncate(self.to_s, length) と同じです。
File.truncate(self.to_s, length) と同じです。
@param length 変更したいサイズを整数で与えます。
@see File.truncate -
Gem
:: SourceIndex # find _ name(gem _ name , version _ requirement = Gem :: Requirement . default) -> Gem :: Specification (19228.0) -
短い名前で正確にマッチする Gem を返します。
短い名前で正確にマッチする Gem を返します。
@param gem_name Gem の名前を指定します。
@param version_requirement
@see Gem::Requirement -
Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil (19225.0) -
指定された名前の Gem::Specification オブジェクトを返します。
指定された名前の Gem::Specification オブジェクトを返します。
@param full_name Gem のフルネームを指定します。 -
OpenSSL
:: X509 :: Certificate # issuer -> OpenSSL :: X509 :: Name (18607.0) -
証明書の発行者の名前を返します。
証明書の発行者の名前を返します。 -
OpenSSL
:: X509 :: Certificate # subject -> OpenSSL :: X509 :: Name (18607.0) -
証明書の所有者の名前を返します。
証明書の所有者の名前を返します。 -
Rake
:: InvocationChain :: EmptyInvocationChain # member?(task _ name) -> bool (18607.0) -
偽を返します。
偽を返します。 -
OpenSSL
:: X509 :: Certificate # issuer=(name) (18343.0) -
証明書の発行者の名前を設定します。
証明書の発行者の名前を設定します。
@param name 発行者の名前の OpenSSL::X509::Name オブジェクト
@raise OpenSSL::X509::CertificateError 設定に失敗した場合に発生します -
OpenSSL
:: X509 :: Certificate # subject=(name) (18343.0) -
証明書の所有者の名前を設定します。
証明書の所有者の名前を設定します。
@param name 所有者の名前の OpenSSL::X509::Name オブジェクト
@raise OpenSSL::X509::CertificateError 設定に失敗した場合に発生します -
Rake
:: Application # init(app _ name = & # 39;rake& # 39;) (18343.0) -
コマンドラインオプションとアプリケーション名を初期化します。
コマンドラインオプションとアプリケーション名を初期化します。
//emlist[例][ruby]{
# Rakefile での記載例とする
task default: :test
task :test
Rake.application.name # => "rake"
Rake.application.init("MyApp") # => ["default"]
Rake.application.name # => "MyApp"
//} -
Rake
:: InvocationChain # member?(task _ name) -> bool (9625.0) -
与えられたタスク名が自身に含まれる場合は真を返します。 そうでない場合は偽を返します。
与えられたタスク名が自身に含まれる場合は真を返します。
そうでない場合は偽を返します。
@param task_name タスク名を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
invocation_chain = Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.member?("task_a") # => true... -
Gem
:: SourceIndex # remove _ spec(full _ name) -> Gem :: Specification (907.0) -
引数で指定された名前を持つ Gem をインデックスから削除します。
引数で指定された名前を持つ Gem をインデックスから削除します。