290件ヒット
[101-200件を表示]
(0.099秒)
ライブラリ
- ビルトイン (25)
- logger (1)
- openssl (55)
- pathname (11)
- rake (66)
-
rubygems
/ dependency _ list (22) -
rubygems
/ source _ index (33) -
rubygems
/ specification (77)
クラス
- Encoding (11)
-
Gem
:: DependencyList (22) -
Gem
:: SourceIndex (33) -
Gem
:: Specification (77) -
Logger
:: Application (1) - Module (14)
-
OpenSSL
:: X509 :: Certificate (44) -
OpenSSL
:: X509 :: ExtensionFactory (11) - Pathname (11)
-
Rake
:: Application (22) -
Rake
:: InvocationChain (22) -
Rake
:: InvocationChain :: EmptyInvocationChain (22)
キーワード
- append (22)
- appname (1)
-
const
_ source _ location (5) -
deprecate
_ constant (9) -
file
_ name (11) -
find
_ name (22) -
full
_ name (11) - init (11)
- issuer (11)
- issuer= (11)
- member? (22)
- name= (11)
-
original
_ name (11) -
remove
_ by _ name (11) -
remove
_ spec (11) - replicate (11)
- specification (11)
- subject (11)
- subject= (11)
-
subject
_ certificate= (11) - truncate (11)
検索結果
先頭5件
- Gem
:: SourceIndex # find _ name(gem _ name , version _ requirement = Gem :: Requirement . default) -> Gem :: Specification - Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil - Encoding
# replicate(name) -> Encoding - Module
# const _ source _ location(name , inherited = true) -> [String , Integer] - Module
# deprecate _ constant(*name) -> self
-
Gem
:: SourceIndex # find _ name(gem _ name , version _ requirement = Gem :: Requirement . default) -> Gem :: Specification (6309.0) -
短い名前で正確にマッチする Gem を返します。
...短い名前で正確にマッチする Gem を返します。
@param gem_name Gem の名前を指定します。
@param version_requirement
@see Gem::Requirement... -
Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil (6308.0) -
指定された名前の Gem::Specification オブジェクトを返します。
...指定された名前の Gem::Specification オブジェクトを返します。
@param full_name Gem のフルネームを指定します。... -
Encoding
# replicate(name) -> Encoding (6224.0) -
レシーバのエンコーディングを複製(replicate)します。 複製されたエンコーディングは元のエンコーディングと同じバイト構造を持たなければなりません。 name という名前のエンコーディングが既に存在する場合は ArgumentError を発生します。
...レシーバのエンコーディングを複製(replicate)します。
複製されたエンコーディングは元のエンコーディングと同じバイト構造を持たなければなりません。
name という名前のエンコーディングが既に存在する場合は ArgumentError......y 3.3 で削除予定です。
//emlist[][ruby]{
encoding = Encoding::UTF_8.replicate("REPLICATED_UTF-8") #=> #<Encoding:REPLICATED_UTF-8>
encoding.name #=> "REPLICATED_UTF-8"
"\u3042".force_encoding(Encoding::UTF_8).valid_encoding? #=> true
"\... -
Module
# const _ source _ location(name , inherited = true) -> [String , Integer] (6224.0) -
name で指定した定数の定義を含むソースコードのファイル名と行番号を配列で返します。
...
name で指定した定数の定義を含むソースコードのファイル名と行番号を配列で返します。
@param name Symbol,String で定数の名前を指定します。
@param inherited true を指定するとスーパークラスや include したモジュールで定義され......_location('C4') # => ["test.rb", 12]
p B.const_source_location('C3') # => ["test.rb", 7]
p B.const_source_location('C1') # => ["test.rb", 2]
p B.const_source_location('C3', false) # => nil -- include したモジュールは検索しない
p A.const_source_locatio......p Object.const_source_location('B') # => ["test.rb", 10] -- Object はトップレベルの定数を検索する
p Object.const_source_location('A') # => ["test.rb", 1] -- クラスが再定義された場合は最初の定義位置を返す
p B.const_source_location('A') # =... -
Module
# deprecate _ constant(*name) -> self (6224.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
# => 123
Object.deprecate_constant(:BAR)
# NameError: constant Object::BAR not defined
//}......
name で指定した定数を deprecate に設定します。
deprecate に設定した定数を参照すると警告メッセージが表示されます。
Ruby 2.7.2 から Warning[:deprecated] のデフォルト値が false に変更になったため、
デフォルトでは警告が表示さ......[:deprecated] = true」で
変更すると表示されるようになります。
「$VERBOSE = true」は「Warning[:deprecated]」に影響しないため、
表示されるかどうかは変わりません。
@param name 0 個以上の String か Symbol を指定します。
@raise NameError......定数を指定した場合に発生します。
@return self を返します。
//emlist[例][ruby]{
FOO = 123
Object.deprecate_constant(:FOO) # => Object
FOO
# warning: constant ::FOO is deprecated
# => 123
Object.deprecate_constant(:BAR)
# NameError: constant Object::BAR not defined
//}... -
Rake
:: InvocationChain :: EmptyInvocationChain # append(task _ name) -> Rake :: InvocationChain (6208.0) -
与えられた値を追加した Rake::InvocationChain を返します。
...与えられた値を追加した Rake::InvocationChain を返します。
@param task_name 追加する値を指定します。... -
OpenSSL
:: X509 :: ExtensionFactory # subject _ certificate=(name) (6202.0) -
自身に所有者(subject)の証明書オブジェクトを設定します。
...自身に所有者(subject)の証明書オブジェクトを設定します。
@param cert 設定する証明書(OpenSSL::X509::Certificate)オブジェクト
@see OpenSSL::X509::ExtensionFactory.new... -
Rake
:: InvocationChain :: EmptyInvocationChain # member?(task _ name) -> bool (6102.0) -
偽を返します。
偽を返します。 -
Rake
:: InvocationChain # append(task _ name) -> Rake :: InvocationChain (3208.0) -
与えられたタスク名を追加して新しい Rake::InvocationChain を返します。
...与えられたタスク名を追加して新しい Rake::InvocationChain を返します。
@param task_name 追加するタスク名を指定します。
@raise RuntimeError 循環したタスクの呼び出しを検出した場合に発生します。
//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.append("task_b") # => LL("task_b", "task_a")
end
//}... -
OpenSSL
:: X509 :: Certificate # issuer=(name) (3114.0) -
証明書の発行者の名前を設定します。
...証明書の発行者の名前を設定します。
@param name 発行者の名前の OpenSSL::X509::Name オブジェクト
@raise OpenSSL::X509::CertificateError 設定に失敗した場合に発生します...