Home Segments Index Top Previous Next

555: Mainline

Finally, you define a method for comparison:

Weight method definition • instance 
< aWeight 
  ^ (self magnitude < aWeight magnitude)