Class: Alexandria::LibrarySortOrder::Unsorted

Inherits:
Alexandria::LibrarySortOrder show all
Defined in:
lib/alexandria/library_sort_order.rb

Instance Method Summary collapse

Methods included from Alexandria::Logging

included, #log

Constructor Details

#initializeUnsorted

Returns a new instance of Unsorted.



32
33
34
# File 'lib/alexandria/library_sort_order.rb', line 32

def initialize
  super(nil, nil)
end

Instance Method Details

#sort(library) ⇒ Object



36
37
38
# File 'lib/alexandria/library_sort_order.rb', line 36

def sort(library)
  library
end

#to_sObject



40
41
42
# File 'lib/alexandria/library_sort_order.rb', line 40

def to_s
  "default order"
end