Class: Firuta::Commands::Sort
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Firuta::Commands::Base
Instance Method Details
#apply_to(collection) ⇒ Object
6 7 8 |
# File 'lib/firuta/commands/sort.rb', line 6 def apply_to(collection) collection.sort(&@proc) end |