Method: Wukong::Processor::Sort#sortable

Defined in:
lib/wukong/widget/reducers/sort.rb

#sortable(record) ⇒ Object

Extracts the sortable part of the input record.

Parameters:

  • record (Object)

Returns:

  • (Object)

    the part of the record to sort on



157
158
159
# File 'lib/wukong/widget/reducers/sort.rb', line 157

def sortable(record)
  get(self.on, record)
end