Class: CADataFrame::MergeFrame::NilSorter

Inherits:
Object
  • Object
show all
Includes:
Comparable
Defined in:
lib/carray-dataframe/join.rb

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



45
46
47
# File 'lib/carray-dataframe/join.rb', line 45

def <=>(other)
  other.nil? ? 0 : -1
end

#==(_other) ⇒ Object



41
42
43
# File 'lib/carray-dataframe/join.rb', line 41

def ==(_other)
  false
end

#nil?Boolean

Returns:

  • (Boolean)


37
38
39
# File 'lib/carray-dataframe/join.rb', line 37

def nil?
  true
end