Answers for "<=> operator in rails"

0

<=> operator in rails

a <=> b :=
  if a < b then return -1
  if a = b then return  0
  if a > b then return  1
  if a and b are not comparable then return nil
Posted by: Guest on December-13-2021

Code answers related to "<=> operator in rails"

Browse Popular Code Answers by Language