diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-28 02:45:29 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-28 02:45:29 +0000 |
commit | 2619f216fef06c9fca948ca729a0e23b62996f09 (patch) | |
tree | 01c462490ba269df417fad115570ace6a765a25f /lib/rake/task_arguments.rb | |
parent | 84ece951630c61eddab8be47b80fc1a7f774175f (diff) | |
download | ruby-2619f216fef06c9fca948ca729a0e23b62996f09.tar.gz |
* lib/rake: Update rake to fix some bugs and hide deprecated features
from RDoc.
* lib/rake/version.rb: Bump version to 0.9.2.1 to distinguish it from
the released version.
* NEWS: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rake/task_arguments.rb')
-rw-r--r-- | lib/rake/task_arguments.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rake/task_arguments.rb b/lib/rake/task_arguments.rb index ab404d67f5..02d01b99f9 100644 --- a/lib/rake/task_arguments.rb +++ b/lib/rake/task_arguments.rb @@ -43,6 +43,10 @@ module Rake @hash.each(&block) end + def values_at(*keys) + keys.map { |k| lookup(k) } + end + def method_missing(sym, *args, &block) lookup(sym.to_sym) end |