36件ヒット
[1-36件を表示]
(0.068秒)
ライブラリ
- rake (12)
-
rubygems
/ command (24)
クラス
-
Gem
:: Command (24) -
Rake
:: TaskArguments (12)
キーワード
- defaults= (12)
-
with
_ defaults (12)
検索結果
先頭3件
-
Gem
:: Command # defaults -> Hash (18202.0) -
デフォルトのオプションを返します。
デフォルトのオプションを返します。 -
Rake
:: TaskArguments # with _ defaults(defaults) -> Hash (6315.0) -
パラメータにデフォルト値をセットします。
...パラメータにデフォルト値をセットします。
@param defaults デフォルト値として使用するキーと値を格納したハッシュを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments =......e1", "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) (6202.0) -
コマンドで使用するデフォルトのオプションをセットします。
...コマンドで使用するデフォルトのオプションをセットします。
@param hash オプションをハッシュで指定します。...