Method: Rake::TaskArguments#with_defaults

Defined in:
lib/rake/task_arguments.rb

#with_defaults(defaults) ⇒ Object

Specify a hash of default values for task arguments. Use the defaults only if there is no specific value for the given argument.



50
51
52
# File 'lib/rake/task_arguments.rb', line 50

def with_defaults(defaults)
  @hash = defaults.merge(@hash)
end