Class: Spinach::Orderers::Default
- Inherits:
-
Object
- Object
- Spinach::Orderers::Default
- Defined in:
- lib/spinach/orderers/default.rb
Instance Method Summary collapse
-
#attach_summary(io) ⇒ Object
Appends any necessary report output (by default does nothing).
-
#initialize(**options) ⇒ Default
constructor
A new instance of Default.
-
#order(items) ⇒ Object
Returns a reordered version of the provided array.
Constructor Details
#initialize(**options) ⇒ Default
Returns a new instance of Default.
4 |
# File 'lib/spinach/orderers/default.rb', line 4 def initialize(**); end |
Instance Method Details
#attach_summary(io) ⇒ Object
Appends any necessary report output (by default does nothing).
12 |
# File 'lib/spinach/orderers/default.rb', line 12 def attach_summary(io); end |
#order(items) ⇒ Object
Returns a reordered version of the provided array
20 21 22 |
# File 'lib/spinach/orderers/default.rb', line 20 def order(items) items end |