Class Rake::TaskArguments
In: lib/rake/task_arguments.rb
Parent: Object

TaskArguments manage the arguments passed to a task.

Methods

[]   each   extras   fetch   has_key?   key?   method_missing   new   new_scope   to_a   to_hash   values_at   with_defaults  

Included Modules

Enumerable

Attributes

names  [R]  Argument names

Public Class methods

Create a TaskArgument object with a list of argument names and a set of associated values. parent is the parent argument object.

Public Instance methods

Find an argument value by name or index.

Enumerates the arguments and their values

Retrieve the list of values not associated with named arguments

Returns true if key is one of the arguments

key?(key)

Alias for has_key?

Returns the value of the given argument via method_missing

Create a new argument scope using the prerequisite argument names.

Retrieve the complete array of sequential values

Returns a Hash of arguments and their values

Extracts the argument values at keys

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

[Validate]