Web Development  >>  Ruby On Rails

The boat operator in ruby sorting

Language : English Quality : High Has Audio : true Source : Other Media : QuickTime
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.     [SUGGEST  A  ARTICLE]

Tags: Ruby, Ruby On Rails, Ruby-Banter, Screencast, Programming,     [SUGGEST  A  TAG]

Created : 2007-06-28   


(Requires : MPEG-4 Video Player)
Download file is iPod compatable