Class: Spinach::Orderers::Default

Inherits:
Object
  • Object
show all
Defined in:
lib/spinach/orderers/default.rb

Instance Method Summary collapse

Constructor Details

#initialize(**options) ⇒ Default

Returns a new instance of Default.



4
# File 'lib/spinach/orderers/default.rb', line 4

def initialize(**options); end

Instance Method Details

#attach_summary(io) ⇒ Object

Appends any necessary report output (by default does nothing).

Parameters:

  • io (IO)

    Output buffer for report.



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

Parameters:

  • items (Array)

    Items to order



20
21
22
# File 'lib/spinach/orderers/default.rb', line 20

def order(items)
  items
end