37件ヒット
[1-37件を表示]
(0.033秒)
種類
- インスタンスメソッド (33)
- 文書 (4)
ライブラリ
- rake (11)
-
rubygems
/ command (22)
クラス
-
Gem
:: Command (22) -
Rake
:: TaskArguments (11)
キーワード
-
NEWS for Ruby 3
. 0 . 0 (4) - defaults (11)
- defaults= (11)
-
with
_ defaults (11)
検索結果
先頭4件
-
Rake
:: TaskArguments # with _ defaults(defaults) -> Hash (6327.0) -
パラメータにデフォルト値をセットします。
...パラメータにデフォルト値をセットします。
@param defaults デフォルト値として使用するキーと値を格納したハッシュを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments =......ue1", "value2"])
arguments.to_hash # => {:name1=>"value1", :name2=>"value2"}
arguments.with_defaults({ default_key: "default_value"}) # => {:default_key=>"default_value", :name1=>"value1", :name2=>"value2"}
arguments.to_hash... -
Gem
:: Command # defaults=(hash) (6208.0) -
コマンドで使用するデフォルトのオプションをセットします。
...コマンドで使用するデフォルトのオプションをセットします。
@param hash オプションをハッシュで指定します。... -
Gem
:: Command # defaults -> Hash (6202.0) -
デフォルトのオプションを返します。
デフォルトのオプションを返します。 -
NEWS for Ruby 3
. 0 . 0 (72.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...ob and Dir.[] now sort the results by default, and accept the `sort:` keyword option. 8709
* ENV
* ENV.except has been added, which returns a hash excluding the given keys and their values. 15822
* Windows: Read ENV names and values as UTF-8 encoded Strings 12650
* Encoding
* Added......e test first! 17176
* Hash
* Hash#transform_keys and Hash#transform_keys! now accept a hash that maps keys to new keys. 16274
* Hash#except has been added, which returns a hash excluding the given keys and their values. 15822
* IO
* IO#nonblock? now defaults to `true`. 16786
*......n added to skip hostname verification. 16555
* Net::HTTP.get, Net::HTTP.get_response, and Net::HTTP.get_print can take the request headers as a Hash in the second argument when the first argument is a URI. 16686
* Net::SMTP
* Add SNI support.
* Net::SMTP.start arguments are keyword a...