るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.153秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:l[x] > バージョン:2.4.0[x] > クエリ:to_hash[x] > クラス:Rake::TaskArguments[x]

別のキーワード

  1. _builtin to_s
  2. openssl to_der
  3. openssl to_s
  4. _builtin to_a
  5. openssl to_pem

ライブラリ

検索結果

Rake::TaskArguments#with_defaults(defaults) -> Hash (18643.0)

パラメータにデフォルト値をセットします。

...指定します。

//emlist[][ruby]{
# 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=>"v...