1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/win32/lib/win32/registry.rb (Win32::Registry#values): added.

[Feature #7763] [ruby-core:51783]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2013-09-03 10:46:58 +00:00
parent afcabde71b
commit 1b126277ed
2 changed files with 16 additions and 1 deletions

View file

@ -1,6 +1,12 @@
Tue Sep 3 19:44:40 2013 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/win32/lib/win32/registry.rb (Win32::Registry#values): added.
[Feature #7763] [ruby-core:51783]
Tue Sep 3 18:26:00 2013 Akinori MUSHA <knu@iDaemons.org>
* misc/inf-ruby.el (inf-ruby-keys, run-ruby): Add magic autoload comments.
* misc/inf-ruby.el (inf-ruby-keys, run-ruby): Add magic autoload
comments.
* misc/rdoc-mode.el (rdoc-mode): Ditto.

View file

@ -569,6 +569,15 @@ For detail, see the MSDN[http://msdn.microsoft.com/library/en-us/sysinfo/base/pr
end
alias each each_value
#
# return values as an array
#
def values
vals_ary = []
each_value { |*, val| vals_ary << val }
vals_ary
end
#
# Enumerate subkeys.
#