33件ヒット
[1-33件を表示]
(0.089秒)
ライブラリ
- rake (11)
-
rubygems
/ command (22)
クラス
-
Gem
:: Command (22) -
Rake
:: TaskArguments (11)
キーワード
- defaults= (11)
-
with
_ defaults (11)
検索結果
先頭3件
-
Gem
:: Command # defaults -> Hash (18203.0) -
デフォルトのオプションを返します。
デフォルトのオプションを返します。 -
Rake
:: TaskArguments # with _ defaults(defaults) -> Hash (6328.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) (6209.0) -
コマンドで使用するデフォルトのオプションをセットします。
...コマンドで使用するデフォルトのオプションをセットします。
@param hash オプションをハッシュで指定します。...