Module: Range::RangeExtensions
- Included in:
- Range
- Defined in:
- lib/ragweed/utils.rb
Instance Method Summary collapse
Instance Method Details
#each_backwards ⇒ Object
6 7 8 |
# File 'lib/ragweed/utils.rb', line 6 def each_backwards max.to_i.downto(min) {|i| yield i} end |