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.



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

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