Class: Rollr::LowDropper

Inherits:
Dropper show all
Defined in:
lib/rollr/filters/droppers/low_dropper.rb

Instance Attribute Summary

Attributes inherited from Filter

#quantity, #rolls

Instance Method Summary collapse

Methods inherited from Dropper

dropper_for, #filter, #remainder

Methods inherited from Filter

#filter, #initialize

Constructor Details

This class inherits a constructor from Rollr::Filter

Instance Method Details

#orderedObject



3
4
5
# File 'lib/rollr/filters/droppers/low_dropper.rb', line 3

def ordered
  rolls.sort { |a, b| b <=> a }
end