Ruby Banter #002: The Boat

Posted in Development on September 20, 2007


Ruby Banter #002: The Boat

The sort method in Ruby uses the boat operator, sometimes called ‘spaceship’, to compare object instances. In this episode Manfred shows how you can make your objects sortable by defining the boat operator.

Watch Video

Tags: Ruby, Ruby Banter