11件ヒット
[1-11件を表示]
(0.020秒)
別のキーワード
クラス
-
Rake
:: TaskArguments (11)
検索結果
-
Rake
:: TaskArguments # with _ defaults(defaults) -> Hash (18109.0) -
パラメータにデフォルト値をセットします。
...{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments = Rake::TaskArguments.new(["name1", "name2"], ["value1", "value2"])
arguments.to_hash # => {:name1=>"value1", :name2=>"value2"}
arguments.with_defaults({...