Class: XINDEX

Inherits:
Object show all
Defined in:
lib/fos_schema/fos_table_gen.rb,
lib/fos_schema/fos_schema_snapshot.rb

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



30
31
32
33
34
# File 'lib/fos_schema/fos_table_gen.rb', line 30

def <=>( other )
  val = self[:'xi$number'] <=> other[:'xi$number']
  val = self[:'xi$part'] <=> other[:'xi$part'] if val == 0
  val
end