Method: Dictionary#reverse_each
- Defined in:
- lib/ruber/utils.rb
permalink #reverse_each { ... } ⇒ Dictionary
Calls the block passing it each key and the corresponding value starting from the last
293 294 295 296 |
# File 'lib/ruber/utils.rb', line 293 def reverse_each order.reverse_each{|k| yield k, @hash[k] } self end |